Parameters of Federation.fetch method.
The context data to pass to the Context.
The context data to pass to the Context.
optional
onNotFound: (request: Request) => Response | Promise<Response>
A callback to handle a request when the route is not found. If not provided, a 404 response is returned.
optional
onNotAcceptable: (request: Request) => Response | Promise<Response>
A callback to handle a request when the request's Accept
header is not
acceptable. If not provided, a 406 response is returned.
optional
onUnauthorized: (request: Request) => Response | Promise<Response>
A callback to handle a request when the request is unauthorized. If not provided, a 401 response is returned.