pub struct ClientHandle { /* private fields */ }Expand description
A handle for the client side of an upgraded WebSocket connection.
Implementations§
Source§impl ClientHandle
impl ClientHandle
Sourcepub fn send_to_server(&self, frame: UnitFrame)
pub fn send_to_server(&self, frame: UnitFrame)
Encode frame and deliver it to the policy via on_http_request_body.
Outgoing calls triggered by the policy are resolved inline.
Auto Trait Implementations§
impl !RefUnwindSafe for ClientHandle
impl !Send for ClientHandle
impl !Sync for ClientHandle
impl !UnwindSafe for ClientHandle
impl Freeze for ClientHandle
impl Unpin for ClientHandle
impl UnsafeUnpin for ClientHandle
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