-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Problem with provided default example inside documentation #1785
Comments
You compile the examples by hitting "make". |
Please add std::string_view parameters to ping and pong in the documentation. Thanks. |
But its not inside example, its inside my program. |
The issue has been resolved using this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I pulled out the provided example inside the uWebSockets documentation which goes:
And im unable to compile that code. Im having problem with second argument inside the .ws() method. I cannot do rvalue nor lvalue. Using std::move() is not working, initializing right inside the method does not work too. Explicit usage of the type does not work too. Here is my cmake --build . --verbose:
The text was updated successfully, but these errors were encountered: