Skip to main content

handle_api_request

Function handle_api_request 

Source
fn handle_api_request(
    request: RpcRequest,
    session: &Arc<Session>,
    tx: &UnboundedSender<Outgoing>,
)
Expand description

Sends a request to the session’s background thread, and its response to the client when it’s done.