A server that supports both HTTP1.0 and HTTP1.1 semantics by detecting the version of the request. TODO Verify correct behaviour.
36 37 38
# File 'lib/async/http/protocol/http1.rb', line 36 def self.server(stream) Server.new(stream, VERSION) end