module Async::HTTP::Protocol::HTTP2

def self.client(peer, settings = CLIENT_SETTINGS)

def self.client(peer, settings = CLIENT_SETTINGS)
	stream = IO::Stream.new(peer, sync: true)
	
	client = Client.new(stream)
	
	client.send_connection_preface(settings)
	client.start_connection
	
	return client
end