pub struct UpgradedRequestBuilder { /* private fields */ }Expand description
Wrapper for RequestBuilder that performs the
websocket handshake when sent.
Implementations§
source§impl UpgradedRequestBuilder
impl UpgradedRequestBuilder
sourcepub async fn send(self) -> Result<UpgradeResponse, Error>
pub async fn send(self) -> Result<UpgradeResponse, Error>
Sends the request and returns and UpgradeResponse.
Auto Trait Implementations§
impl !RefUnwindSafe for UpgradedRequestBuilder
impl Send for UpgradedRequestBuilder
impl Sync for UpgradedRequestBuilder
impl Unpin for UpgradedRequestBuilder
impl !UnwindSafe for UpgradedRequestBuilder
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