Skip to main content

serve_client

Function serve_client 

Source
pub async fn serve_client(
    server: Arc<ServerShared>,
    transport: Box<dyn Transport>,
    pending: Option<Vec<u8>>,
)
Expand description

Serve an SMB2 client connection until EOF/error (used when a connection starts life directly in SMB2 rather than upgrading through SMB1).