module Async::HTTP::Protocol::HTTP11

def self.bidirectional?

def self.bidirectional?
	true
end

def self.client(peer)

def self.client(peer)
	stream = IO::Stream.new(peer, sync: false)
	
	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.new(peer, sync: false)
	
	return HTTP1::Server.new(stream, VERSION)
end

def self.trailers?

def self.trailers?
	true
end