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.

Implementations on Foreign Types§

Source§

impl ResponseExt for Response

Implementors§