class Async::HTTP::Protocol::HTTP2::Client

def call(request)

Used by the client to send requests to the remote server.
def call(request)
	raise ::Protocol::HTTP2::Error, "Connection closed!" if self.closed?
	
	response = create_response
	write_request(response, request)
	read_response(response)
	
	return response
end

def create_response

def create_response
	Response::Stream.create(self, self.next_stream_id).response
end

def initialize(stream)

def initialize(stream)
	@stream = stream
	
	framer = ::Protocol::HTTP2::Framer.new(@stream)
	
	super(framer)
end

def read_response(response)

def read_response(response)
	response.wait
end

def write_request(response, request)

def write_request(response, request)
	response.send_request(request)
end