Struct parsec_client::core::request_client::RequestClient[][src]

pub struct RequestClient {
    pub max_body_size: usize,
    pub ipc_handler: Box<dyn Connect + Send + Sync>,
}
Expand description

Low level client structure optimised for communicating with the service at a request level of abstraction.

Usage is recommended when fine control over the request header and IPC handler is needed.

Fields

max_body_size: usize

Max size for response bodies

Defaults to the max value of usize on the current platform

ipc_handler: Box<dyn Connect + Send + Sync>

Handler for IPC-related functionality

Defaults to using Unix domain sockets

Implementations

Creates a new RequestClient, bootstrapping the socket location.

Send a request and get a response.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.