Method: Async::HTTP::Protocol::HTTP10.client

Defined in:
lib/async/http/protocol/http10.rb

.client(peer) ⇒ Object



35
36
37
38
39
# File 'lib/async/http/protocol/http10.rb', line 35

def self.client(peer)
	stream = IO::Stream.new(peer, sync: false)
	
	return HTTP1::Client.new(stream, VERSION)
end