Added exception system for handshake errors, fixed #2 Origin header name in draft 13

This commit is contained in:
Peter Thorson
2011-09-10 08:58:04 -05:00
parent 56485f543a
commit 4764d69b34
8 changed files with 139 additions and 106 deletions

View File

@@ -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);