Sha256: ea87638945ba6e4354aedd7e3b7bcdcfe9a24cd40abe4fb506daff04c2ddf81c

Contents?: true

Size: 1.63 KB

Versions: 40

Compression:

Stored size: 1.63 KB

Contents

module HTTPX
  class Connection::HTTP1
    include Callbacks
    include Loggable

    UPCASED: Hash[String, String]
    MAX_REQUESTS: Integer
    CRLF: String

    attr_reader pending: Array[Request]
    attr_reader requests: Array[Request]

    @options: Options
    @max_concurrent_requests: Integer
    @max_requests: Integer
    @parser: Parser::HTTP1
    @buffer: Buffer
    @version: [Integer, Integer]
    @handshake_completed: bool
    @pipelining: bool

    @request: Request?

    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_start: () -> void

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

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

    def on_data: (String chunk) -> void

    def on_complete: () -> void

    def dispatch: () -> void

    def ping: () -> void

    def timeout: () -> Numeric

    private

    def initialize: (Buffer, options) -> untyped

    def manage_connection: (Response) -> void

    def disable: () -> void

    def disable_pipelining: () -> void

    def set_protocol_headers: (Request) -> _Each[[String, String]]

    def handle: (Request request) -> void

    def join_headers: (Request request) -> void

    def join_trailers: (Request request) -> void

    def join_headers2: (_Each[[String, String]] headers) -> void

    def join_body: (Request request) -> void

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
httpx-1.0.2 sig/connection/http1.rbs
httpx-0.24.7 sig/connection/http1.rbs
httpx-1.0.1 sig/connection/http1.rbs
httpx-1.0.0 sig/connection/http1.rbs
httpx-0.24.6 sig/connection/http1.rbs
httpx-0.24.5 sig/connection/http1.rbs
httpx-0.24.4 sig/connection/http1.rbs
httpx-0.24.3 sig/connection/http1.rbs
httpx-0.24.2 sig/connection/http1.rbs
httpx-0.24.1 sig/connection/http1.rbs
httpx-0.24.0 sig/connection/http1.rbs
httpx-0.23.4 sig/connection/http1.rbs
httpx-0.23.3 sig/connection/http1.rbs
httpx-0.23.2 sig/connection/http1.rbs
httpx-0.23.1 sig/connection/http1.rbs
httpx-0.23.0 sig/connection/http1.rbs
httpx-0.22.5 sig/connection/http1.rbs
httpx-0.22.4 sig/connection/http1.rbs
httpx-0.22.3 sig/connection/http1.rbs
httpx-0.22.2 sig/connection/http1.rbs