# sig/async/http/body.rbs

class Async::HTTP::Body < Async::HTTP::Async::Queue
  def close: () -> untyped
  def closed?: () -> untyped
  def each: () -> untyped
  def initialize: () -> void
  def read: () -> untyped
  def write: () -> untyped
end


# sig/async/http/body.rbs

class Async::HTTP::BufferedBody
  def closed?: () -> untyped
  def each: () -> untyped
  def initialize: () -> void
  def read: () -> untyped
end


# sig/async/http/client.rbs

class Async::HTTP::Client
  def self.open: () -> untyped
  def close: () -> untyped
  def connect: () -> untyped
  def initialize: () -> void
  def request: () -> untyped
end


# sig/async/http/body.rbs

class Async::HTTP::FixedBody
  def close: () -> untyped
  def closed?: () -> untyped
  def each: () -> untyped
  def initialize: () -> void
  def read: () -> untyped
end


# sig/async/http/pool.rbs

class Async::HTTP::Pool
  def acquire: () -> untyped
  def close: () -> untyped
  def create_resource: () -> untyped
  def initialize: () -> void
  def next_available: () -> untyped
  def release: () -> untyped
  def wait_for_next_available: () -> untyped
end


# sig/async/http/protocol/http1.rbs

class Async::HTTP::Protocol::HTTP1 < Async::HTTP::Protocol::Async::IO::Protocol::Line
  def client: () -> untyped
  def create_handler: () -> untyped
  def initialize: () -> void
  def receive_requests: () -> untyped
end


# sig/async/http/protocol/http10.rbs

class Async::HTTP::Protocol::HTTP10 < Async::HTTP::Protocol::HTTP11
  def keep_alive?: () -> untyped
  def read_body: () -> untyped
  def receive_requests: () -> untyped
  def version: () -> untyped
  def write_body: () -> untyped
end


# sig/async/http/protocol/http11.rbs

class Async::HTTP::Protocol::HTTP11 < Async::HTTP::Protocol::Async::IO::Protocol::Line
  def initialize: () -> void
  def keep_alive?: () -> untyped
  def multiplex: () -> untyped
  def read_body: () -> untyped
  def read_headers: () -> untyped
  def read_request: () -> untyped
  def read_response: () -> untyped
  def receive_requests: () -> untyped
  def reusable?: () -> untyped
  def send_request: () -> untyped
  def version: () -> untyped
  def write_body: () -> untyped
  def write_headers: () -> untyped
  def write_request: () -> untyped
  def write_response: () -> untyped
end


# sig/async/http/protocol/http11.rbs

class Async::HTTP::Protocol::HTTP11::ChunkedBody
  def close: () -> untyped
  def closed?: () -> untyped
  def each: () -> untyped
  def initialize: () -> void
  def read: () -> untyped
end


# sig/async/http/protocol/http2.rbs

class Async::HTTP::Protocol::HTTP2
  def self.client: () -> untyped
  def self.server: () -> untyped
  def close: () -> untyped
  def initialize: () -> void
  def multiplex: () -> untyped
  def read_in_background: () -> untyped
  def receive_requests: () -> untyped
  def reusable?: () -> untyped
  def send_request: () -> untyped
end


# sig/async/http/response.rbs

class Async::HTTP::Response
  def continue?: () -> untyped
  def failure?: () -> untyped
  def redirection?: () -> untyped
  def success?: () -> untyped
end


# sig/async/http/server.rbs

class Async::HTTP::Server
  def accept: () -> untyped
  def handle_request: () -> untyped
  def initialize: () -> void
  def run: () -> untyped
end


# sig/async/http/url_endpoint.rbs

class Async::HTTP::URLEndpoint < Async::HTTP::Async::IO::Endpoint
  def self.parse: () -> untyped
  def address: () -> untyped
  def bind: () -> untyped
  def connect: () -> untyped
  def default_port: () -> untyped
  def each: () -> untyped
  def endpoint: () -> untyped
  def hostname: () -> untyped
  def initialize: () -> void
  def port: () -> untyped
  def protocol: () -> untyped
  def secure?: () -> untyped
  def ssl_context: () -> untyped
  def to_s: () -> untyped
end


# sig/async/http/body.rbs

module Async::HTTP::BufferedBody::Reader
  def close: () -> untyped
  def read: () -> untyped
end


# sig/async/http/protocol/https.rbs

module Async::HTTP::Protocol::HTTPS
  def self.client: () -> untyped
  def self.protocol_for: () -> untyped
  def self.server: () -> untyped
end
