Struct tk_http::websocket::ClientCodec [] [src]

pub struct ClientCodec;

Websocket codec for use with tk-bufstream

This codec is used out of the box in HandshakeProto

Trait Implementations

impl Encode for ClientCodec
[src]

Value to encode

[src]

Encodes a frame into the buffer provided. Read more

impl Decode for ClientCodec
[src]

Decoded message

[src]

Attempts to decode a frame from the provided buffer of bytes. Read more

[src]

A default method available to be called when there are no more bytes available to be read from the underlying I/O. Read more

Auto Trait Implementations

impl Send for ClientCodec

impl Sync for ClientCodec