Sha256: 6d8ff66f04ad2dfdc351697aa7c98ff5d34740db057ef37bd7f5428ce523eba5

Contents?: true

Size: 421 Bytes

Versions: 6

Compression:

Stored size: 421 Bytes

Contents

interface _Connection
  def options: () -> _ConnectionOptions

  def run_request: (
      Symbol method,
      String path,
      Hash[Symbol, String|[String]] body,
      Hash[String, String] headers
    ) -> Http::Response
end

interface _ConnectionOptions
  def timeout: () -> Integer
  def timeout=: (Integer timeout) -> Integer
  def open_timeout: () -> Integer
  def open_timeout=: (Integer timeout) -> Integer
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chalk_ruby-0.2.0 sig/chalk_ruby/http/_connection.rbs
chalk_ruby-0.1.4 sig/chalk_ruby/http/_connection.rbs
chalk_ruby-0.1.3 sig/chalk_ruby/http/_connection.rbs
chalk_ruby-0.1.2 sig/chalk_ruby/http/_connection.rbs
chalk_ruby-0.1.1 sig/chalk_ruby/http/_connection.rbs
chalk_ruby-0.1.0 sig/chalk_ruby/interfaces/_connection.rbs