uNetworking / uWebSockets

Simple, secure & standards compliant web server for the most demanding of applications
Apache License 2.0
17.24k stars 1.75k forks source link

No matching overload function found #1104

Closed xrnss closed 3 years ago

xrnss commented 3 years ago

I am trying to build a C++ server that uses uWebsockets. When trying to build, I get "uWS::TemplatedApp::ws': no matching overloaded function found" (also I get it with true instead of false but that's SSL handling)

I also get " 'initializing': cannot convert from 'initializer list' to 'uWS::TemplatedApp::WebSocketBehavior &&' ".

If you need code snippets, tell me.

I am a uWebsockets noob, apologies if this has been answered somewhere else but I cannot see that. Perhaps it is a recent update that has caused the issue?

ghost commented 3 years ago

872