Skip to main content

ResponseExt

Trait ResponseExt 

Source
pub trait ResponseExt {
    // Required methods
    fn websocket(&self) -> Option<WebSocket>;
    fn cf(&self) -> Option<Object>;
}

Required Methods§

Source

fn websocket(&self) -> Option<WebSocket>

Getter for the webSocket field of this object.

Source

fn cf(&self) -> Option<Object>

Getter for the cf field of this object.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ResponseExt for Response

Implementors§