module Protocol

A protocol specifies a way in which to communicate with a remote peer.

Classes and Modules

class Configured

A protocol wrapper that forwards pre-configured options to client and server creation.

module Configurable

Provides a new method that creates a class Async::HTTP::Protocol::Configured wrapper, allowing protocols to be instantiated with custom options.

module Defaulton

This 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 HTTP

HTTP is an http:// server that auto-selects HTTP/1.1 or HTTP/2 by detecting the HTTP/2 connection preface.

module HTTP1

Provides HTTP/1.0 and HTTP/1.1 client and server implementations.

module HTTP10

Provides an HTTP/1.0 client and server protocol implementation.

module HTTP11

Provides an HTTP/1.1 client and server protocol implementation.

module HTTP2

Provides an HTTP/2 client and server protocol implementation.

class HTTPS

A server that supports both HTTP1.0 and HTTP1.1 semantics by detecting the version of the request.

class Request < ::Protocol::HTTP::Request

An incoming HTTP request generated by server protocol implementations.

class Response < ::Protocol::HTTP::Response

An HTTP response received from a server via client protocol implementations.