Class: Protocol::HTTP3::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/protocol/http3.rb

Overview

An HTTP/3 client connection.

Instance Method Summary collapse

Instance Method Details

#native_submit_requestObject



18
# File 'lib/protocol/http3.rb', line 18

alias native_submit_request submit_request

#submit_request(headers, body = nil) ⇒ Object

Submit a request and return the stream used for the response body.



21
22
23
# File 'lib/protocol/http3.rb', line 21

def submit_request(headers, body = nil)
	Stream.new(self, native_submit_request(headers, body))
end