Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easier to set up HTTP/2 with an HTTP/1 fallback. #108

thosakwe opened this issue Jun 12, 2019 · 0 comments


Copy link

@thosakwe thosakwe commented Jun 12, 2019

Currently, you need both an instance of AngelHttp2 and AngelHttp:

var http = AngelHttp(app);
var http2 = AngelHttp2(app, ...);
await http2.startServer();

It should be easier to do this, perhaps behind an allowHttp1 flag:

var http2 = AngelHttp2(app, allowHttp1: true);
await http2.startServer();

Open to suggestions/comments!

@thosakwe thosakwe closed this Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.