Module: Async::HTTP::Protocol::HTTP1

Defined in:
lib/async/http/protocol/http1.rb,
lib/async/http/protocol/http1/client.rb,
lib/async/http/protocol/http1/server.rb,
lib/async/http/protocol/http1/request.rb,
lib/async/http/protocol/http1/response.rb,
lib/async/http/protocol/http1/connection.rb

Overview

A server that supports both HTTP1.0 and HTTP1.1 semantics by detecting the version of the request.

Defined Under Namespace

Modules: Client, Connection, Server Classes: Request, Response

Class Method Summary collapse

Class Method Details

.client(*args) ⇒ Object



31
32
33
# File 'lib/async/http/protocol/http1.rb', line 31

def self.client(*args)
	HTTP11.client(*args)
end

.server(*args) ⇒ Object



35
36
37
# File 'lib/async/http/protocol/http1.rb', line 35

def self.server(*args)
	HTTP11.server(*args)
end