Module http

Module http 

Source
Expand description

HTTP-specific constants for the relay server and client.

Constantsยง

CLIENT_AUTH_HEADER
The HTTP header name for relay client authentication
RELAY_PATH
The HTTP path under which the relay accepts relaying connections (over websockets and a custom upgrade protocol).
RELAY_PROBE_PATH
The HTTP path under which the relay allows doing latency queries for testing.
RELAY_PROTOCOL_VERSION
The websocket sub-protocol version that we currently support.