listen
listen is the main function you use to start your server with octoris
Last updated
listen is the main function you use to start your server with octoris
Last updated
Listen takes in all the options that the http
module server.listen
accepts you can check those here
The only required Option to give listen
is the port option
Name
Type
Description
options
Object
routes
Function
A function containing all the routes, this function is created by using composeRoutes
Type
Description
Promise
A promise object