module Async::HTTP::Protocol::HTTP1

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", "http/1.0"]
end

def self.server(peer)

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