Skip to main content

serve

Function serve 

Source
pub fn serve<S, A>(stream: S, agent: Arc<A>) -> ClientConn
where S: AsyncRead + AsyncWrite + Send + 'static, A: Agent,
Expand description

Serve agent over a duplex stream — a Unix socket, an in-memory pipe.