OptionalcontentOptional Content-Type header override for non-GraphQL endpoints. This is purely a header concern; response interpretation is controlled by protocol. When protocol is omitted, a set contentType implies the "rest" protocol.
OptionaloperationHuman-readable operation name included in missing-token auth errors. Defaults to the concrete subclass name.
OptionalprotocolThe wire protocol of the request, selecting response interpretation and error classification. "graphql" unwraps the envelope; "rest" returns the body verbatim. When omitted, the protocol is inferred from contentType.
OptionalrequiresWhether the operation requires an authentication token; the request fails fast with an AniLinkAuthError when set and no auth material is configured. Defaults to false.
OptionaltransportPer-request RequestOptions merged over the instance-level ones. A field set here wins; unset fields keep the instance value.
Named trailing options for
BaseOperation.dispatch, replacing the former positional tail so call sites name their arguments and new options can be added without reordering. Mirrors theSendRequestOptionspattern already used by sendRequest.See
BaseOperation