Skip to main content

Module client

Module client 

Source
Expand description

Minimal WebSocket client, used by integration tests and the charging-station simulator. connect opens plain TCP; [handshake] runs over any established stream (e.g. a TLS stream).

Structs§

ClientConnection
ClientOptions

Enums§

ConnectError

Functions§

connect
Opens a TCP connection to opts.addr and performs the WebSocket handshake.
handshake
Performs the WebSocket opening handshake over an established stream.