pub fn serve<S: Read + Write>(
stream: &mut S,
keys: &[AgentKey],
signed: impl FnMut(&str),
) -> Result<()>Expand description
Serves one client over any byte stream until it closes, calling signed(comment) after each
signature. A message over MAX_MESSAGE ends the connection without being read.