Please help me check the issues with the client #1773
Unanswered
lingshaomao
asked this question in
Q&A
Replies: 1 comment
-
it works! |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to implement a client:
`#include <uwebsockets/App.h>
#include
#include
using namespace std;
class UserData
{
};
int main() {
string url = "ws://localhost:9001";
}`
But this code reported an error in VS2022 with C++20:
error C2440: “”: cannot convert from “initializer list” to “ofats::any_invocable<void (uWS::WebSocket<false,true,UserData> *)>”
Help me please
Beta Was this translation helpful? Give feedback.
All reactions