pub struct IpcStreamClient { /* private fields */ }Expand description
Specialized IPC streaming client for handling real-time data streams
Implementations§
Source§impl IpcStreamClient
impl IpcStreamClient
Sourcepub fn new<P>(path: P) -> Result<Self>
pub fn new<P>(path: P) -> Result<Self>
Create a new IPC streaming client with default configuration
Sourcepub fn with_config<P>(path: P, config: StreamClientConfig) -> Result<Self>
pub fn with_config<P>(path: P, config: StreamClientConfig) -> Result<Self>
Create a new IPC streaming client with custom configuration
Sourcepub fn get(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn get(&self, path: &str) -> StreamRequestBuilder<'_>
GET streaming request
Sourcepub fn post(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn post(&self, path: &str) -> StreamRequestBuilder<'_>
POST streaming request
Sourcepub fn put(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn put(&self, path: &str) -> StreamRequestBuilder<'_>
PUT streaming request
Sourcepub fn delete(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn delete(&self, path: &str) -> StreamRequestBuilder<'_>
DELETE streaming request
Sourcepub fn patch(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn patch(&self, path: &str) -> StreamRequestBuilder<'_>
PATCH streaming request
Sourcepub fn head(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn head(&self, path: &str) -> StreamRequestBuilder<'_>
HEAD streaming request
Sourcepub fn options(&self, path: &str) -> StreamRequestBuilder<'_>
pub fn options(&self, path: &str) -> StreamRequestBuilder<'_>
OPTIONS streaming request
Auto Trait Implementations§
impl Freeze for IpcStreamClient
impl RefUnwindSafe for IpcStreamClient
impl Send for IpcStreamClient
impl Sync for IpcStreamClient
impl Unpin for IpcStreamClient
impl UnwindSafe for IpcStreamClient
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