We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
deno serve
onListen
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
Currently with Deno.serve you're able to know on which address you're listening to with onListen, but deno serve does not implement it:
Deno.serve
export default { onListen:() => { /* call me maybe */ }, fetch:() => new Response() }
Use-case:
--port 0
--location
fetch()
The text was updated successfully, but these errors were encountered:
@nathanwhit is looking into it
Sorry, something went wrong.
deno serveˋ:
onListen()
Successfully merging a pull request may close this issue.
Currently with
Deno.serve
you're able to know on which address you're listening to withonListen
, butdeno serve
does not implement it:Use-case:
--port 0
)--location
to allowfetch()
on selfThe text was updated successfully, but these errors were encountered: