Module websocket::header

source ·
Expand description

Structs representing headers relevant in a WebSocket context.

These headers are commonly used in WebSocket requests and responses. The Header trait from the hyper crate is used.

Re-exports§

Modules§

  • Provides the Sec-WebSocket-Extensions header.
  • Utility functions for Header implementations.

Structs§

Enums§

Traits§

  • A trait for any object that will represent a header field and value.
  • Internal implementation detail.
  • A trait for any object that will represent a header field and value.
  • An Authorization scheme to be used in the header.

Functions§

  • Convenience function to create a Quality from a float.
  • Convinience function to wrap a value in a QualityItem Sets q to the default 1.0