-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Websocket with dynamic routes in 1.1.0 #796
Labels
question
Issue can be closed by providing information
Comments
I have similar question. I achieve this using templates.
where templete struct
and enum
and overload every templete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to set up a route
this gives the compile error:
error: could not convert ‘((WebSocketRouteHandler*)this)->WebSocketRouteHandler::routeUrl’ from ‘std::string’ {aka ‘std::__cxx11::basic_string’} to ‘crow::black_magic::const_str’
[build] 13 | CROW_WEBSOCKET_ROUTE(app, routeUrl)
Or is there a better alternative than writing reusable objects like:
The text was updated successfully, but these errors were encountered: