HttpHandler
HttpHandler = (
request,context) =>HttpOutgoingResponse|Promise<HttpOutgoingResponse>
Defined in: packages/net-http/src/message/http-message.ts:169
Answers one request.
Called once per request, in arrival order per connection. Throwing, or
rejecting, is answered with 500 when the response has not started, and with
the connection’s teardown otherwise.
Parameters
Section titled “Parameters”request
Section titled “request”context
Section titled “context”Returns
Section titled “Returns”HttpOutgoingResponse | Promise<HttpOutgoingResponse>