Expand description
Utilities for parsing and building command-server messages.
Structs§
- Server
Spec - Information reported by the server at the initial handshake.
Functions§
- pack_
args - Packs command arguments of arbitrary encoding into bytes.
- pack_
args_ os - Packs command arguments of platform encoding into bytes.
- pack_
result_ code - Packs command exit code into bytes.
- parse_
hello - Parses “hello” response into
ServerSpec
. - parse_
result_ code - Parses command exit code into integer.