Sha256: 1b0476b8e3edb02d2cccd77bf57853c0b716fe9dd425854dfc5df15b89cebe89

Contents?: true

Size: 1.24 KB

Versions: 6

Compression:

Stored size: 1.24 KB

Contents

module HTTPX
  class Connection::HTTP1
    include Callbacks
    include Loggable

    attr_reader pending: Array[Request]

    @options: Options
    @max_concurrent_requests: Integer
    @max_requests: Integer
    @parser: HTTP1
    @buffer: Buffer

    def interests: () -> io_interests?

    def reset: () -> void

    def close: () -> void

    def empty?: () -> bool

    def exhausted?: () -> bool

    def <<: (String) -> void

    def send: (Request) -> void

    def consume: () -> void

    def handle_error: (StandardError ex) -> void

    def on_headers: (Hash[String, Array[String]] headers) -> void

    def on_trailers: (Array[String, String] headers) -> void

    def on_data: (string chunk) -> void

    def on_complete: () -> void

    def dispatch: () -> void

    def ping: () -> void

    private

    def initialize: (Buffer, options) -> untyped

    def manage_connection: (Response) -> void

    def disable: () -> void

    def disable_pipelining: () -> void

    def set_request_headers: (Request) -> void

    def headline_uri: (Request) -> String

    def handle: (Request request) -> void

    def join_headers: (Request request) -> void

    def join_body: (Request request) -> void

    def capitalized: (String field) -> String
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
httpx-0.11.3 sig/connection/http1.rbs
httpx-0.11.2 sig/connection/http1.rbs
httpx-0.11.1 sig/connection/http1.rbs
httpx-0.11.0 sig/connection/http1.rbs
httpx-0.10.2 sig/connection/http1.rbs
httpx-0.10.1 sig/connection/http1.rbs