pub struct WebsocketSecureTransport { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for WebsocketSecureTransport
impl Clone for WebsocketSecureTransport
Source§impl Debug for WebsocketSecureTransport
impl Debug for WebsocketSecureTransport
Source§impl From<WebsocketSecureTransport> for TransportType
impl From<WebsocketSecureTransport> for TransportType
Source§fn from(transport: WebsocketSecureTransport) -> Self
fn from(transport: WebsocketSecureTransport) -> Self
Converts to this type from the input type.
Source§impl Transport for WebsocketSecureTransport
impl Transport for WebsocketSecureTransport
Source§fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<(), Error>
fn emit(&self, data: Bytes, is_binary_att: bool) -> Result<(), Error>
Sends a packet to the server. This optionally handles sending of a
socketio binary attachment via the boolean attribute
is_binary_att.Source§fn poll(&self, timeout: Duration) -> Result<Bytes, Error>
fn poll(&self, timeout: Duration) -> Result<Bytes, Error>
Performs the server long polling procedure as long as the client is
connected. This should run separately at all time to ensure proper
response handling from the server.
Source§fn base_url(&self) -> Result<Url, Error>
fn base_url(&self) -> Result<Url, Error>
Returns start of the url. ex. http://localhost:2998/engine.io/?EIO=4&transport=polling
Must have EIO and transport already set.
Auto Trait Implementations§
impl !RefUnwindSafe for WebsocketSecureTransport
impl !UnwindSafe for WebsocketSecureTransport
impl Freeze for WebsocketSecureTransport
impl Send for WebsocketSecureTransport
impl Sync for WebsocketSecureTransport
impl Unpin for WebsocketSecureTransport
impl UnsafeUnpin for WebsocketSecureTransport
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