Sha256: 71d00a8a9097efbede18816466f471fdd35f967f6d895e0b637e14c091df0f6b

Contents?: true

Size: 636 Bytes

Versions: 15

Compression:

Stored size: 636 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 = "OPTIONS" | "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE" | "CONNECT" |
              "PROPFIND" | "PROPPATCH" | "MKCOL" | "COPY" | "MOVE" | "LOCK" | "UNLOCK" | "ORDERPATCH" |
              "ACL" | "REPORT" | "PATCH" | "SEARCH"

  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

15 entries across 15 versions & 1 rubygems

Version Path
httpx-1.2.6 sig/httpx.rbs
httpx-1.2.4 sig/httpx.rbs
httpx-1.2.3 sig/httpx.rbs
httpx-1.2.2 sig/httpx.rbs
httpx-1.2.1 sig/httpx.rbs
httpx-1.2.0 sig/httpx.rbs
httpx-1.1.5 sig/httpx.rbs
httpx-1.1.4 sig/httpx.rbs
httpx-1.1.3 sig/httpx.rbs
httpx-1.1.2 sig/httpx.rbs
httpx-1.1.1 sig/httpx.rbs
httpx-1.1.0 sig/httpx.rbs
httpx-1.0.2 sig/httpx.rbs
httpx-1.0.1 sig/httpx.rbs
httpx-1.0.0 sig/httpx.rbs