module Async::HTTP::Protocol::HTTP2
def self.server(peer, settings = SERVER_SETTINGS)
def self.server(peer, settings = SERVER_SETTINGS) stream = IO::Stream.new(peer, sync: true) server = Server.new(stream) server.read_connection_preface(settings) server.start_connection return server end