mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Added exception system for handshake errors, fixed #2 Origin header name in draft 13
This commit is contained in:
@@ -29,9 +29,7 @@
|
||||
|
||||
using websocketecho::echo_handler;
|
||||
|
||||
bool echo_handler::validate(websocketpp::session_ptr client) {
|
||||
return true;
|
||||
}
|
||||
void echo_handler::validate(websocketpp::session_ptr client) {}
|
||||
|
||||
void echo_handler::message(websocketpp::session_ptr client, const std::string &msg) {
|
||||
client->send(msg);
|
||||
|
||||
Reference in New Issue
Block a user