Module tk_http::websocket [] [src]

Websocket support stuff

Websockets are initiated by server implementation, this module only contains websocket message types and similar stuff.

Modules

client

Websocket client implementation

Structs

Accept

The Sec-WebSocket-Accept header value

ClientCodec

Websocket codec for use with tk-bufstream

Config

Configuration of a websocket::Loop object (a server-side websocket connection).

Error

Websocket Error works both for client and server connections

Key

The Sec-WebSocket-Key header value

Loop

This is a helper for running websockets

ServerCodec

Websocket codec for use with tk-bufstream in Codec::hijack()

Enums

Frame

A borrowed frame of websocket data

Packet

A websocket packet

Constants

GUID

WebSocket GUID constant (provided by spec)

Traits

Dispatcher

Dispatches messages received from websocket