Registers an HTTP handler matching specified URL pattern on any HTTP method.
Closes all sockets including listen sockets. This will forcefully terminate all connections.
Registers an HTTP CONNECT handler matching specified URL pattern.
Registers an HTTP DELETE handler matching specified URL pattern.
Browse to SNI domain. Used together with .get, .post and similar to attach routes under SNI domains.
Attaches a "filter" function to track socket connections / disconnections
Registers an HTTP GET handler matching specified URL pattern.
Registers an HTTP HEAD handler matching specified URL pattern.
Listens to hostname & port. Callback hands either false or a listen socket.
Listens to hostname & port and sets Listen Options. Callback hands either false or a listen socket.
Listens to port. Callback hands either false or a listen socket.
Listens to port and sets Listen Options. Callback hands either false or a listen socket.
Listens to unix socket. Callback hands either false or a listen socket.
Registers a synchronous callback on missing server names. See /examples/ServerName.js.
Registers an HTTP OPTIONS handler matching specified URL pattern.
Registers an HTTP PATCH handler matching specified URL pattern.
Registers an HTTP POST handler matching specified URL pattern.
Publishes a message under topic, for all WebSockets under this app. See WebSocket.publish.
OptionalisBinary: booleanOptionalcompress: booleanRegisters an HTTP PUT handler matching specified URL pattern.
Registers an HTTP TRACE handler matching specified URL pattern.
Registers a handler matching specified URL pattern where WebSocket upgrade requests are caught.
TemplatedApp is either an SSL or non-SSL app. See App for more info, read user manual.