Module: HTTPX
- Extended by:
- Chainable
- Defined in:
- lib/httpx.rb,
lib/httpx/io.rb,
lib/httpx/buffer.rb,
lib/httpx/client.rb,
lib/httpx/errors.rb,
lib/httpx/io/ssl.rb,
lib/httpx/io/tcp.rb,
lib/httpx/io/udp.rb,
lib/httpx/channel.rb,
lib/httpx/headers.rb,
lib/httpx/io/unix.rb,
lib/httpx/options.rb,
lib/httpx/request.rb,
lib/httpx/timeout.rb,
lib/httpx/version.rb,
lib/httpx/loggable.rb,
lib/httpx/registry.rb,
lib/httpx/resolver.rb,
lib/httpx/response.rb,
lib/httpx/callbacks.rb,
lib/httpx/chainable.rb,
lib/httpx/connection.rb,
lib/httpx/transcoder.rb,
lib/httpx/plugins/h2c.rb,
lib/httpx/channel/http1.rb,
lib/httpx/channel/http2.rb,
lib/httpx/plugins/proxy.rb,
lib/httpx/plugins/stream.rb,
lib/httpx/resolver/https.rb,
lib/httpx/plugins/cookies.rb,
lib/httpx/plugins/retries.rb,
lib/httpx/resolver/native.rb,
lib/httpx/resolver/system.rb,
lib/httpx/resolver/options.rb,
lib/httpx/plugins/proxy/http.rb,
lib/httpx/plugins/compression.rb,
lib/httpx/plugins/proxy/socks4.rb,
lib/httpx/plugins/proxy/socks5.rb,
lib/httpx/plugins/push_promise.rb,
lib/httpx/plugins/authentication.rb,
lib/httpx/resolver/resolver_mixin.rb,
lib/httpx/plugins/compression/gzip.rb,
lib/httpx/plugins/follow_redirects.rb,
lib/httpx/plugins/compression/brotli.rb,
lib/httpx/plugins/compression/deflate.rb,
lib/httpx/plugins/basic_authentication.rb,
lib/httpx/plugins/digest_authentication.rb
Overview
Top-Level Namespace
Defined Under Namespace
Modules: Callbacks, Chainable, IO, Loggable, Plugins, Registry, Resolver, Transcoder Classes: Buffer, Channel, Client, Connection, ContentType, ErrorResponse, Headers, Options, ProxyChannel, ProxySSL, Request, Response, SSL, Selector, TCP, Timeout, UDP, UNIX
Constant Summary collapse
- Error =
Class.new(StandardError)
- TimeoutError =
Class.new(Error)
- ResolveError =
Class.new(Error)
- HTTPError =
Class.new(Error) do attr_reader :response def initialize(response) @response = response super("HTTP Error: #{@response.status}") end def status @response.status end end
- MisdirectedRequestError =
Class.new(HTTPError)
- VERSION =
"0.2.0"
- InsecureRedirectError =
Class.new(Error)