syndicate-ssh/protocols/schemas/channel.prs

20 lines
625 B
Plaintext

version 1 .
embeddedType EntityRef.Ref .
SshChannelTypeAvailable = <channel-type-available @type bytes>.
SshChannelRemote = <channel-remote @type bytes @extraData bytes>.
SshChannelLocal = <channel-local @type bytes @extraData bytes>.
SshChannelOpenResponse =
/ @ok <channel-open-confirmation @sink #!stream.Sink @extraData bytes>
/ @fail <channel-open-failure @sink #!stream.Sink @reason int @description bytes>
.
SshChannelObject =
/ @extendedData <channel-extended-data @typeCode int>
/ @request <channel-request @type bytes @wantReply bool>
/ @success <channel-reply #t>
/ @failure <channel-reply #f>
.