Struct websocket::server::Connection [-] [+] [src]

pub struct Connection<R: Read, W: Write>(_, _);

Represents a connection to the server that has not been processed yet.

Methods

impl<R: Read, W: Write> Connection<R, W>

fn read_request(self) -> Result<Request<R, W>>

Process this connection and read the request.