module Async::HTTP::Protocol::HTTP11

def self.bidirectional?

def self.bidirectional?
	true
end

def self.client(peer)

def self.client(peer)
	stream = ::IO::Stream::Buffered.wrap(peer)
	
	return HTTP1::Client.new(stream, VERSION)
end

def self.names

def self.names
	["http/1.1"]
end

def self.server(peer)

def self.server(peer)
	stream = ::IO::Stream::Buffered.wrap(peer)
	
	return HTTP1::Server.new(stream, VERSION)
end

def self.trailer?

def self.trailer?
	true
end