Module client

Module client 

Source
Expand description

Exposes Client, which allows to establish connections to a relay server.

Based on tailscale/derp/derphttp/derphttp_client.go

Structs§

Client
A relay client.
ClientBuilder
Build a Client.
ClientSink
The send half of a relay client.
ClientStream
The receive half of a relay client.

Enums§

ConnectError
Connection errors.
DialError
Errors that can occur while dialing the relay server.
RecvError
Errors when receiving messages from the relay server.
SendError
Error for sending messages to the relay server.

Functions§

make_dangerous_client_configtest-utils
Creates a client config that trusts any servers without verifying their TLS certificate.