Module: Async::HTTP::Protocol::HTTP11
- Defined in:
- lib/async/http/protocol/http11.rb
Constant Summary collapse
- VERSION =
"HTTP/1.1"
Class Method Summary collapse
Class Method Details
.bidirectional? ⇒ Boolean
31 32 33 |
# File 'lib/async/http/protocol/http11.rb', line 31 def self.bidirectional? true end |
.client(peer) ⇒ Object
35 36 37 38 39 |
# File 'lib/async/http/protocol/http11.rb', line 35 def self.client(peer) stream = IO::Stream.new(peer, sync: false) return HTTP1::Client.new(stream, VERSION) end |
.names ⇒ Object
47 48 49 |
# File 'lib/async/http/protocol/http11.rb', line 47 def self.names ["http/1.1"] end |