AbstractConstructs a new BaseOperation instance.
OptionalauthToken: RequestAuthInput
The authentication material used for API requests. A string is treated as a bearer token for backwards compatibility.
Optionaloptions: RequestOptions
Transport settings scoped to this instance (timeout, cancellation, retry policy, lifecycle hooks).
Shared state and dispatch plumbing for every provider's operations.
This class owns exactly what every API style has in common — the instance authentication token, the resolved transport settings, and the shallow per-request merge — and delegates the actual HTTP call to the provider- agnostic sendRequest pipeline. Protocol-specific base classes subclass it:
GraphQLOperationadds GraphQL envelope handling andRestOperationadds query-string and JSON-body handling without duplicating any of the plumbing here.