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

Is it possible to Programmatically figure out the bind address of the running hypercorn server ? #39

Closed
aziz142010 opened this issue Aug 26, 2021 · 1 comment

Comments

@aziz142010
Copy link

I have started the Hypercorn server using the serve api. Is there any way to figure out programmatically as to which address the Hypercorn server is bonded ?? And also can we get the config details of the running Hypercorn Webserver ??

http://127.0.0.1:8080 
@pgjones
Copy link
Owner

pgjones commented Dec 13, 2021

It is available as part of the server key passed as part of the asgi scope

@pgjones pgjones closed this as completed Aug 28, 2022
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

No branches or pull requests

2 participants