module Protocol
A protocol specifies a way in which to communicate with a remote peer.
Classes and Modules
class ConfiguredA protocol wrapper that forwards pre-configured options to client and server creation.
module ConfigurableProvides a
newmethod that creates aclass Async::HTTP::Protocol::Configuredwrapper, allowing protocols to be instantiated with custom options.module DefaultonThis module provides a default instance of the protocol, which can be used to create clients and servers. The name is a play on "Default" + "Singleton".
class HTTPHTTP is an http:// server that auto-selects HTTP/1.1 or HTTP/2 by detecting the HTTP/2 connection preface.
module HTTP1Provides HTTP/1.0 and HTTP/1.1 client and server implementations.
module HTTP10Provides an HTTP/1.0 client and server protocol implementation.
module HTTP11Provides an HTTP/1.1 client and server protocol implementation.
module HTTP2Provides an HTTP/2 client and server protocol implementation.
class HTTPSA server that supports both HTTP1.0 and HTTP1.1 semantics by detecting the version of the request.
class Request < ::Protocol::HTTP::RequestAn incoming HTTP request generated by server protocol implementations.
class Response < ::Protocol::HTTP::ResponseAn HTTP response received from a server via client protocol implementations.