Class: HTTP

wallet.HTTP(options)

HTTP

Constructor

new HTTP(options)

Create an http server.

Parameters:
Name Type Description
options Object
Source:

Methods

(async, private) addOutputPaths()

Add wallet path information to JSON outputs

Source:

(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: