You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to access an http server's @host the same way I can access @PORT.
As of this moment, @host is a private variable of HTTP::Server and does not have accessor methods.
I would be happy to submit a PR if you find it suitable.
The text was updated successfully, but these errors were encountered:
There is a draft for splitting http server and listeners in order to support binding to unix socket directly #2735. That could impact on the solution for this.
Note that the ip used to bind the server to is not the same as the ip of the server itself. 0.0.0.0 matching everything but not telling you the ip of the server.
I would like to be able to access an http server's @host the same way I can access @PORT.
As of this moment, @host is a private variable of
HTTP::Server
and does not have accessor methods.I would be happy to submit a PR if you find it suitable.
The text was updated successfully, but these errors were encountered: