Class: HTTP

wallet~HTTP(options)

HTTP

Constructor

new HTTP(options)

Create an http server.

Parameters:
Name Type Description
options Object
Source:

Methods

(private) handleAuth(socket)

Handle new auth'd websocket.

Parameters:
Name Type Description
socket WebSocket
Source:

(private) handleSocket(socket)

Handle new websocket.

Parameters:
Name Type Description
socket WebSocket
Source:

(private) init()

Initialize http server.

Source:

(private) initRouter()

Initialize routes.

Source:

(private) initSockets()

Initialize websockets.

Source: