Create a server for an inbound connection.
42 43 44 45 46
# File 'lib/async/http/protocol/http11.rb', line 42 def self.server(peer, **options) stream = ::IO::Stream(peer) return HTTP1::Server.new(stream, VERSION, **options) end