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

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

Defined Under Namespace

Classes: Client, Server

Constant Summary collapse

VERSION =
"HTTP/1.0"

Class Method Summary collapse

Class Method Details

.client(stream) ⇒ Object



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

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

.server(stream) ⇒ Object



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

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