Overview
-
module Protocol-
module WebSocket-
class BinaryFrame < FrameRepresents a binary frame that is sent or received by a WebSocket connection.
-
class CloseFrame < FrameRepresents a close frame that is sent or received by a WebSocket connection.
-
module Coder-
module JSONA JSON coder that uses the standard JSON library.
-
-
class ConnectionWraps a framer and implements for implementing connection specific interactions like reading and writing text.
-
class ContinuationFrame < FrameRepresents a continuation frame that is sent or received by a WebSocket connection when a message is split into multiple frames.
-
class Error < HTTP::ErrorRepresents an error that occurred during the WebSocket protocol negotiation or communication.
-
class ProtocolError < ErrorRaised by stream or connection handlers, results in GOAWAY frame which signals termination of the current connection. You cannot recover from this exception, or any exceptions subclassed from it.
-
class ClosedError < ProtocolErrorThe connection was closed, maybe unexpectedly.
-
class FrameSizeError < ProtocolErrorWhen the frame payload does not match expectations.
-
module Extension-
module CompressionProvides support for the permessage-deflate extension.
-
class DeflateCompresses outgoing WebSocket frames using the DEFLATE algorithm.
-
class InflateDecompresses incoming WebSocket frames using the DEFLATE algorithm.
-
-
module ExtensionsManages WebSocket extensions negotiated during the handshake.
-
class ClientManages extensions on the client side, offering and accepting server responses.
-
class ServerManages extensions on the server side, negotiating client offers and applying the agreed extensions.
-
class FrameRepresents a single WebSocket frame as defined by RFC 6455.
-
class FramerWraps an underlying
Async::IO::Streamfor reading and writing binary data into structured frames. -
module Headers-
module NounceProvides utilities for generating and verifying the WebSocket handshake nonce.
-
class MessageRepresents a message that can be sent or received over a WebSocket connection.
-
class TextMessage < MessageRepresents a text message that can be sent or received over a WebSocket connection.
-
class BinaryMessage < MessageRepresents a binary message that can be sent or received over a WebSocket connection.
-
class PingMessage < MessageRepresents a ping message that can be sent over a WebSocket connection.
-
class PingFrame < FrameRepresents a ping frame that is sent or received by a WebSocket connection.
-
class PongFrame < FrameRepresents a pong frame that is sent or received by a WebSocket connection.
-
class TextFrame < FrameRepresents a text frame that is sent or received by a WebSocket connection.
-
-