Sha256: d6b1f8757bc0894de5d197308227a1ca46fb1e2b71466ea149befc0f0bf13658

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 Bytes

Contents

module HTTPX
  extend Chainable

  EMPTY: Array[untyped]

  VERSION: String

  type http_uri = URI::HTTP | URI::HTTPS
  type uri = http_uri | string
  type generic_uri = String | URI::Generic

  type verb = String

  type request_params = Hash[Symbol, untyped]

  type ip_family = Integer #Socket::AF_INET6 | Socket::AF_INET

  module Plugins
    def self?.load_plugin: (Symbol) -> Module

    def self?.register_plugin: (Symbol, Module) -> void
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/httpx.rbs
httpx-1.3.3 sig/httpx.rbs
httpx-1.3.2 sig/httpx.rbs
httpx-1.3.1 sig/httpx.rbs
httpx-1.3.0 sig/httpx.rbs