Identifier of the proxied connection. Generated by the originator side and echoed back by the peer so both ends can multiplex several connections over a single relay connection.
OptionaldataRaw bytes of the connection. Only present on data messages.
OptionalerrorOptional error description. Present on connectFailed messages.
The phase this tunnel message represents.
OptionaltargetThe destination to dial, in host:port form. Only present on
connect messages.
OptionalwindowNumber of bytes returned to the sender's flow-control window. Only
present on windowUpdate messages.
Payload of a
tunnelmessage (see RelayMessageType.Tunnel).Raw tunnel bytes use the relay protocol's binary data-frame representation.