WebSocket allows websites to update content without having to wait for the user. Unlike other techniques which piggyback on the HTTP protocol, the WebSocket protocol creates an ongoing connection between the user and the web service, allowing information to flow easily between both endpoints.
We provide access to our Ubiquity data API using a standard HTTP API or WebSockets connections.
Eth nodes websockets testing:
- Can use auth token in header to use websocket endpoint
- Can use bearer token in header to use websocket endpoint
- Can use token as url param to use websocket endpoint
- Websocket is using port 8443 and HTTP/1.1
Resources
Websocket connection via GraphQL examples
Connecting to your node Via Curl