Skip to main content

response_reader

Function response_reader 

Source
pub fn response_reader<R: AsyncRead + Unpin>(
    reader: R,
) -> AgentResponseReader<R>
Expand description

Decode complete SSH agent packets, stripping their four-byte big-endian length. Keeping framing in the reader preserves partial packets across command-channel select arms and separates multiple responses received in one socket read.