class Async::HTTP::Protocol::HTTP1::Response

def initialize(connection, version, status, reason, headers, body)

Parameters:
  • reason (String) -- HTTP response line reason, ignored.
def initialize(connection, version, status, reason, headers, body)
	@connection = connection
	
	protocol = connection.upgrade?(headers)
	
	super(version, status, headers, body, protocol)
end