-
-
Couldn't load subscription status.
- Fork 502
Open
Labels
discussionThe viability / implementation of the issue is up for debateThe viability / implementation of the issue is up for debate
Description
When I test the following code:
CROW_WEBSOCKET_ROUTE(crowApp, "/test")
.onopen([&](crow::websocket::connection &conn) {
conn.send_text("Error with query params");
conn.close("error", crow::websocket::PolicyViolated);
})
.onclose([&](crow::websocket::connection &conn, const std::string &reason, uint16_t code) {
// This gets called twice?
})I never get the Error with query params message.
Metadata
Metadata
Assignees
Labels
discussionThe viability / implementation of the issue is up for debateThe viability / implementation of the issue is up for debate