Expand description

Lightweight, event-driven WebSockets for Rust.

Structs

A struct indicating the kind of error that has occured and any precise details of that error.

A struct representing a WebSocket frame.

A struct representing the two halves of the WebSocket handshake.

The handshake request.

The handshake response.

WebSocket settings

Enums

Status code used to indicate why an endpoint is closing the WebSocket connection.

The type of an error, which may indicate other kinds of errors as the underlying cause.

An enum representing the various forms of a WebSocket message.

Operation codes as part of rfc6455.

Traits

The core trait of this library. Implementing this trait provides the business logic of the WebSocket application.

Type Definitions