Quiver.Upgrade (quiver v0.2.0)

Copy Markdown View Source

Represents a completed HTTP 101 Switching Protocols upgrade.

Contains the response headers from the 101 response and the raw transport socket for the caller to use with the upgraded protocol.

Summary

Types

t()

@type t() :: %Quiver.Upgrade{
  headers: [{String.t(), String.t()}],
  status: 101,
  transport: Quiver.Transport.t(),
  transport_mod: module()
}