Unexpected behavior of .listen() method when typeof provided port arg is not a number #198
Answered
by
ghost
alexander-girsh
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
ghost
Sep 24, 2019
Replies: 2 comments
-
As per docs listen takes a number https://unetworking.github.io/uWebSockets.js/generated/interfaces/templatedapp.html#listen |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
-
Maybe it should throw an error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per docs listen takes a number https://unetworking.github.io/uWebSockets.js/generated/interfaces/templatedapp.html#listen