Module: HTTPX

Extended by:
Chainable
Defined in:
lib/httpx.rb,
lib/httpx/pool.rb,
lib/httpx/utils.rb,
lib/httpx/altsvc.rb,
lib/httpx/base64.rb,
lib/httpx/buffer.rb,
lib/httpx/errors.rb,
lib/httpx/io/ssl.rb,
lib/httpx/io/tcp.rb,
lib/httpx/io/udp.rb,
lib/httpx/timers.rb,
lib/httpx/headers.rb,
lib/httpx/io/unix.rb,
lib/httpx/options.rb,
lib/httpx/request.rb,
lib/httpx/session.rb,
lib/httpx/version.rb,
lib/httpx/loggable.rb,
lib/httpx/punycode.rb,
lib/httpx/resolver.rb,
lib/httpx/response.rb,
lib/httpx/selector.rb,
lib/httpx/session2.rb,
lib/httpx/callbacks.rb,
lib/httpx/chainable.rb,
lib/httpx/connection.rb,
lib/httpx/extensions.rb,
lib/httpx/transcoder.rb,
lib/httpx/domain_name.rb,
lib/httpx/plugins/h2c.rb,
lib/httpx/plugins/xml.rb,
lib/httpx/parser/http1.rb,
lib/httpx/plugins/auth.rb,
lib/httpx/plugins/grpc.rb,
lib/httpx/request/body.rb,
lib/httpx/plugins/oauth.rb,
lib/httpx/plugins/proxy.rb,
lib/httpx/response/body.rb,
lib/httpx/plugins/brotli.rb,
lib/httpx/plugins/expect.rb,
lib/httpx/plugins/stream.rb,
lib/httpx/plugins/webdav.rb,
lib/httpx/resolver/https.rb,
lib/httpx/resolver/multi.rb,
lib/httpx/plugins/cookies.rb,
lib/httpx/plugins/retries.rb,
lib/httpx/plugins/upgrade.rb,
lib/httpx/resolver/native.rb,
lib/httpx/resolver/system.rb,
lib/httpx/response/buffer.rb,
lib/httpx/transcoder/form.rb,
lib/httpx/transcoder/gzip.rb,
lib/httpx/connection/http1.rb,
lib/httpx/connection/http2.rb,
lib/httpx/plugins/auth/ntlm.rb,
lib/httpx/plugins/aws_sigv4.rb,
lib/httpx/plugins/callbacks.rb,
lib/httpx/plugins/grpc/call.rb,
lib/httpx/plugins/ntlm_auth.rb,
lib/httpx/plugins/proxy/ssh.rb,
lib/httpx/pmatch_extensions.rb,
lib/httpx/resolver/resolver.rb,
lib/httpx/plugins/auth/basic.rb,
lib/httpx/plugins/basic_auth.rb,
lib/httpx/plugins/persistent.rb,
lib/httpx/plugins/proxy/http.rb,
lib/httpx/plugins/upgrade/h2.rb,
lib/httpx/session_extensions.rb,
lib/httpx/transcoder/deflate.rb,
lib/httpx/plugins/auth/digest.rb,
lib/httpx/plugins/auth/socks5.rb,
lib/httpx/plugins/cookies/jar.rb,
lib/httpx/plugins/digest_auth.rb,
lib/httpx/plugins/ssrf_filter.rb,
lib/httpx/plugins/grpc/message.rb,
lib/httpx/plugins/proxy/socks4.rb,
lib/httpx/plugins/proxy/socks5.rb,
lib/httpx/plugins/push_promise.rb,
lib/httpx/plugins/rate_limiter.rb,
lib/httpx/plugins/content_digest.rb,
lib/httpx/plugins/cookies/cookie.rb,
lib/httpx/plugins/response_cache.rb,
lib/httpx/plugins/circuit_breaker.rb,
lib/httpx/plugins/follow_redirects.rb,
lib/httpx/transcoder/multipart/part.rb,
lib/httpx/transcoder/utils/deflater.rb,
lib/httpx/transcoder/utils/inflater.rb,
lib/httpx/plugins/grpc/grpc_encoding.rb,
lib/httpx/plugins/internal_telemetry.rb,
lib/httpx/transcoder/multipart/decoder.rb,
lib/httpx/transcoder/multipart/encoder.rb,
lib/httpx/transcoder/utils/body_reader.rb,
lib/httpx/plugins/aws_sdk_authentication.rb,
lib/httpx/plugins/circuit_breaker/circuit.rb,
lib/httpx/plugins/cookies/set_cookie_parser.rb,
lib/httpx/transcoder/multipart/mime_type_detector.rb

Overview

Top-Level Namespace

Defined Under Namespace

Modules: AltSvc, ArrayExtensions, Base64, Callbacks, Chainable, ErrorResponsePatternMatchExtensions, HeadersPatternMatchExtensions, Loggable, Parser, Plugins, Punycode, Resolver, ResponsePatternMatchExtensions, Transcoder, URIExtensions, Utils Classes: Buffer, ConnectTimeoutError, Connection, ConnectionError, ContentType, DomainName, Error, ErrorResponse, HTTPError, HTTPProxyError, Headers, MisdirectedRequestError, NativeResolveError, Options, Pool, PoolTimeoutError, ProcIO, ProxySSL, ReadTimeoutError, Request, RequestTimeoutError, ResolveError, ResolveTimeoutError, Response, SSL, Selector, ServerSideRequestForgeryError, Session, SettingsTimeoutError, Socks4Error, Socks5Error, StreamResponse, TCP, TimeoutError, Timers, UDP, UNIX, UnsupportedSchemeError, WriteTimeoutError

Constant Summary collapse

EMPTY =
[].freeze
EMPTY_HASH =
{}.freeze
TLSError =
OpenSSL::SSL::SSLError
S =

session may be overridden by certain adapters.

Session
VERSION =
"1.4.0"
GRPCError =
Class.new(Error) do
  attr_reader :status, :details, :metadata

  def initialize(status, details, )
    @status = status
    @details = details
    @metadata = 
    super("GRPC error, code=#{status}, details=#{details}, metadata=#{}")
  end
end
InsecureRedirectError =
Class.new(Error)

Method Summary

Methods included from Chainable

accept, plugin, request, with, wrap