Overview
-
module Protocol
-
module WebSocket
-
class BinaryFrame
Represents a binary frame that is sent or received by a WebSocket connection.
-
class CloseFrame
Represents a close frame that is sent or received by a WebSocket connection.
-
module Coder
-
class JSON
A JSON coder that uses the standard JSON library.
-
-
class Connection
Wraps a framer and implements for implementing connection specific interactions like reading and writing text.
-
class ContinuationFrame
Represents a continuation frame that is sent or received by a WebSocket connection when a message is split into multiple frames.
-
class Error
Represents an error that occurred during the WebSocket protocol negotiation or communication.
-
class ProtocolError
Raised 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
The connection was closed, maybe unexpectedly.
-
class FrameSizeError
When the frame payload does not match expectations.
-
module Extension
-
module Compression
Provides support for the permessage-deflate extension.
-
-
module Extensions
-
class Frame
-
class Framer
Wraps an underlying
Async::IO::Stream
for reading and writing binary data into structured frames. -
module Headers
-
class Message
Represents a message that can be sent or received over a WebSocket connection.
-
class TextMessage
Represents a text message that can be sent or received over a WebSocket connection.
-
class BinaryMessage
Represents a binary message that can be sent or received over a WebSocket connection.
-
class PingMessage
Represents a ping message that can be sent over a WebSocket connection.
-
class PingFrame
Represents a ping frame that is sent or received by a WebSocket connection.
-
class PongFrame
Represents a pong frame that is sent or received by a WebSocket connection.
-
class TextFrame
Represents a text frame that is sent or received by a WebSocket connection.
-
-