Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Currently, you need both an instance of
var http = AngelHttp(app); var http2 = AngelHttp2(app, ...); http2.onHttp1.listen(http.handleRequest); await http2.startServer();
It should be easier to do this, perhaps behind an
var http2 = AngelHttp2(app, allowHttp1: true); await http2.startServer();
Open to suggestions/comments!