Crate reception

source ·
Expand description

This crate provides a way of binding a TCP listener that will accept incoming WebSocket connections. Additionally it provides an abstraction layer (see Client) for serializing and deserializing well-defined models.

Modules

  • Module containing types associated with client-level abstraction (sending and receiving models).
  • Module containing types associated with connection-level abstraction (sending raw bytes and handling protocol details).

Structs

  • A token which can be used to signal a cancellation request to one or more tasks.
  • Binds to a configured port and accepts incoming connections.
  • Configures the listener.

Enums

Traits

  • Sender trait implemented for some service handles.