Async::HTTPSourceAsyncHTTPProtocolHTTP2Client

class Client

Nested

Definitions

def call(request)

Used by the client to send requests to the remote server.

Implementation

def call(request)
	raise ::Protocol::HTTP2::Error, "Connection closed!" if self.closed?
	
	@count += 1
	
	response = create_response
	write_request(response, request)
	read_response(response)
	
	return response
end