Function nails::server::handle_connection
source · [−]pub async fn handle_connection(
config: Config,
nail: impl Nail,
socket: TcpStream
) -> Result<(), Error>
Expand description
Implements the server side of a single connection on the given socket.