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

Classes: Client, Connection, Request, Response, Server

Class Method Summary collapse

Class Method Details

.client(*args) ⇒ Object



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

def self.client(*args)
	Client.new(*args)
end

.server(*args) ⇒ Object



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

def self.server(*args)
	Server.new(*args)
end