Struct warp::filters::ws::Ws2[][src]

pub struct Ws2 { /* fields omitted */ }

Extracted by the ws2 filter, and used to finish an upgrade.

Methods

impl Ws2
[src]

Finish the upgrade, passing a function to handle the WebSocket.

The passed function must return a Future.

Trait Implementations

impl Debug for Ws2
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Ws2

impl !Sync for Ws2