FetchHandler

View Source

Summary

Handles an incoming request and returns the response sent to the client.

Signature

interface FetchHandler {
  (request: Request, client: ClientAddress): Response | Promise<Response>;
}