handler
handler: (
pipeline,sendOptions?) =>Function
Defined in: http/handler.js:43
Creates the outermost request handler.
Parameters
Section titled “Parameters”pipeline
Section titled “pipeline”Function
Composed middleware pipeline
sendOptions?
Section titled “sendOptions?”any = {}
Options forwarded to send()
Returns
Section titled “Returns”Function
- Async handler
(req, res) => voidforhttp.createServer()