Type Aliases
ServerHandler
ServerHandler: (req
) => Response
| Promise
<Response
>
Handler function for processing an HTTP request.
Parameters
Parameter | Type |
---|---|
req | Request |
Returns
Response
| Promise
<Response
>
ServerHandler: (req
) => Response
| Promise
<Response
>
Handler function for processing an HTTP request.
Parameter | Type |
---|---|
req | Request |
Response
| Promise
<Response
>