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§
Trait Implementations§
Source§impl Debug for RequestClient
impl Debug for RequestClient
Auto Trait Implementations§
impl Freeze for RequestClient
impl !RefUnwindSafe for RequestClient
impl Send for RequestClient
impl Sync for RequestClient
impl Unpin for RequestClient
impl !UnwindSafe for RequestClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more