module HTTP

Classes and Modules

module Body
class Client < ::Protocol::HTTP::Methods

An HTTP client that manages persistent connections to a specific endpoint, with automatic retries for idempotent requests.

class Endpoint < ::IO::Endpoint::Generic

Represents a way to connect to a remote HTTP server.

class Internet

A high-level HTTP client for making requests to any URL, managing a pool of persistent connections keyed by host.

module Middleware
module Mock
module Protocol

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

class Proxy

Wraps a client, address and headers required to initiate a connectio to a remote host using the CONNECT verb. Behaves like a TCP endpoint for the purposes of connecting to a remote host.

class Server < ::Protocol::HTTP::Middleware

An HTTP server that accepts connections on a specific endpoint and dispatches requests to an application handler.

class Statistics

Tracks response timing statistics including time to first byte and total duration.