Sha256: 345716ff164360c2cccf3a7559bca021e2b7ac8a995f63eac2661ec5b5b686ea

Contents?: true

Size: 273 Bytes

Versions: 15

Compression:

Stored size: 273 Bytes

Contents

module HTTPX::Registry[T, V]
  class Error < HTTPX::Error
  end

  # type registrable = Symbol | String | Class

  def self.registry: (T tag) -> Class
                   | () -> Hash[T, V]
  def self.register: (T tag,  V handler) -> void

  def registry: (?T tag) -> V
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
httpx-0.20.5 sig/registry.rbs
httpx-0.20.4 sig/registry.rbs
httpx-0.20.3 sig/registry.rbs
httpx-0.20.2 sig/registry.rbs
httpx-0.20.1 sig/registry.rbs
httpx-0.20.0 sig/registry.rbs
httpx-0.19.8 sig/registry.rbs
httpx-0.19.7 sig/registry.rbs
httpx-0.19.6 sig/registry.rbs
httpx-0.19.5 sig/registry.rbs
httpx-0.19.4 sig/registry.rbs
httpx-0.19.3 sig/registry.rbs
httpx-0.19.2 sig/registry.rbs
httpx-0.19.1 sig/registry.rbs
httpx-0.19.0 sig/registry.rbs