Skip to main content

request

Function request 

Source
pub fn request(request: Request) -> Result<Response, ClientError>
Expand description

Send a request over the launcher-provided service fd. The fd is duplicated for each RPC so a short-lived helper cannot close the parent app’s channel.

§Errors

Returns ClientError::Unavailable when the launcher service descriptor or gateway connection is unavailable, ClientError::Protocol for malformed frames, and ClientError::Rejected when the gateway refuses the request.