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).
OptionalstateOwner: object
Stable object keying cross-request transport state (circuit breaker, retry budget, pacing deadlines). Provider wirings pass one shared owner to every operation they construct so that state spans the whole client; when omitted, a fresh per-instance object is used and the state stays scoped to this operation.
REST protocol base class shared by REST providers.
Like
AniListOperation, this class extends BaseOperation but builds plain HTTP requests instead of GraphQL documents. It creates path-based URLs, query strings, and JSON bodies, then returns response bodies without GraphQL envelope unwrapping. The shared pipeline normalizes failures asAniLinkRestError.Concrete operations declare an endpoint path, parameter interface, and a method that calls
execute.