Functions
listen
listen(opts): Server
Creates an HTTP server and listens on the port number specified in the options object.
The fetch function will be invoked upon receiving an HTTP request.
Parameters
| Parameter | Type |
|---|---|
opts | ListenOptions |
Returns
Server