Module: Async::HTTP::Protocol::HTTP10

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

Constant Summary collapse

VERSION =
"HTTP/1.0"

Class Method Summary collapse

Class Method Details

.client(stream) ⇒ Object



29
30
31
# File 'lib/async/http/protocol/http10.rb', line 29

def self.client(stream)
	HTTP1::Client.new(stream, VERSION)
end

.server(stream) ⇒ Object



33
34
35
# File 'lib/async/http/protocol/http10.rb', line 33

def self.server(stream)
	HTTP1::Server.new(stream, VERSION)
end