the connection information
Callback method for when a data frame has been received from the server.
the connection information
websocket opcode (decoded from bits)
indicates that this is the final fragment in a message. The first fragment MAY also be the final fragment. (decoded from bits)
payload, with mask (if any) already applied.
first byte of the websocket frame, see websocket RFC at http://tools.ietf.org/html/rfc6455, section 5.2
true to keep socket open, false to close it
Connect to a websocket server as a client
host to connect to, i.e. "echo.websocket.org" or "192.168.1.1" or "localhost"
server port
make a secure connection to server
server path you are trying to connect to, i.e. if connection to localhost/app, path should be "/app"
callback to call when data is received from the server
callback to call on connection close
value of the Origin HTTP header
New connection object
Connect to a websocket server as a client
URL to connect - <ws|wss>://server.domain[:port]/path
callback to call when data is received from the server
callback to call on connection close
value of the Origin HTTP header
New connection object
Returns a query parameter contained in the supplied buffer. The occurrence value is a zero-based index of a particular key name. This should not be confused with the index over all of the keys.
the query string (text)
the key to search for
parameter value or undefined
Get existing webserver by name
Webserver identification name, undefined = default server
webserver object if exists, null otherwise
string to be decoded
decoded string
buffer to be encoded
encoded string
Generated using TypeDoc
Callback method for when the connection is closed.