class Async::HTTP::Protocol::HTTP1::Request
def self.read(connection)
def self.read(connection) if parts = connection.read_request self.new(connection, *parts) end end
def connection
def connection @connection end
def hijack!
def hijack! @connection.hijack! end
def hijack?
def hijack? true end
def initialize(connection, authority, method, path, version, headers, body)
def initialize(connection, authority, method, path, version, headers, body) @connection = connection protocol = connection.upgrade?(headers) super(nil, authority, method, path, version, headers, body, protocol) end