Endpoint listener
Last updated
Last updated
[io/http/server/Endpoint listener]
Sets up a listener on an HTTP route. Starts an Express server if one is not started yet.
Keywords: http, server, endpoint, get, post, put, delete, listen, api
response:
params:
request:
Sends request received via HTTP.
error: {"error": string, optional "origin": string}
Sends error about incoming request.
server started: (null or {"port": number, "hostname": string})