pub trait ResponseInitExt {
    // Required method
    fn websocket(&mut self, val: &WebSocket) -> &mut Self;
}

Required Methods§

source

fn websocket(&mut self, val: &WebSocket) -> &mut Self

Change the webSocket field of this object.

Implementations on Foreign Types§

source§

impl ResponseInitExt for ResponseInit

source§

fn websocket(&mut self, val: &WebSocket) -> &mut Self

Implementors§