Interface RequestOptions

Configuration for a fetch request.

interface RequestOptions {
    abort?: Maybe<ReadonlyAbort>;
    readErrorBody?: ErrorBodyType;
    serviceId?: Maybe<string>;
}

Properties

If supplied, will cancel the request on abort.

readErrorBody?: ErrorBodyType

Determines how error responses are read and reported.

serviceId?: Maybe<string>

The service id is used to obtain a service controller for that service. If nullish, then empty service metrics will be used.