Federation.fetch(request: Request,options: FederationFetchOptions<TContextData>,): Promise<Response>
Handles a request related to federation. If a request is not related to
federation, the onNotFound
or onNotAcceptable
callback is called.
Usually, this method is called from a server's request handler or a web framework's middleware.
request: Request
The request object.
options: FederationFetchOptions<TContextData>