Skip to main content

Module protocol

Module protocol 

Source

Enums§

HostdRequest
Request from agentd to hostd (privileged executor).
HostdResponse
Response from hostd to agentd.

Constants§

HOSTD_SOCKET_PATH
Default Unix domain socket path for hostd.

Functions§

read_frame
Read a length-prefixed JSON frame from a tokio AsyncRead.
recv_request
Read and deserialize a request.
recv_response
Read and deserialize a response.
send_request
Serialize and send a request.
send_response
Serialize and send a response.
write_frame
Write a length-prefixed JSON frame to a tokio AsyncWrite.