Module: Async::HTTP::Protocol::HTTP11

Defined in:
lib/async/http/protocol/http11.rb,
lib/async/http/protocol/http11/client.rb,
lib/async/http/protocol/http11/server.rb

Defined Under Namespace

Classes: Client, Server

Constant Summary collapse

VERSION =
"HTTP/1.1"

Class Method Summary collapse

Class Method Details

.client(stream) ⇒ Object



30
31
32
# File 'lib/async/http/protocol/http11.rb', line 30

def self.client(stream)
	Client.new(stream)
end

.server(stream) ⇒ Object



34
35
36
# File 'lib/async/http/protocol/http11.rb', line 34

def self.server(stream)
	Server.new(stream)
end