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

add app protocol to http builder #117

Merged
merged 1 commit into from
Feb 12, 2024
Merged

add app protocol to http builder #117

merged 1 commit into from
Feb 12, 2024

Conversation

OfTheDelmer
Copy link
Contributor

Resolves #107

Why

To allow specifying http1 or http2 for listeners

How

Add app_protocol to both HTTPListenerBuilder and config.

Add an example with node's http2 example.

Validation

Run example with local build and can view Hello World in browser on listener url.

@OfTheDelmer
Copy link
Contributor Author

Note: I didn't add an Express example because Express 5 and http2 support is still in beta. 😂
https://expressjs.com/en/5x/api.html

Copy link

@KristopherPaulsen KristopherPaulsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me, lets ship it.

@OfTheDelmer OfTheDelmer merged commit 2b5fd9b into main Feb 12, 2024
31 checks passed
@OfTheDelmer OfTheDelmer deleted the del/app-protocol branch February 12, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support the app_protocol option for HTTP and Labeled listeners
2 participants