mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fixes user agent header typo, fixes #100
This commit is contained in:
@@ -63,7 +63,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
con = endpoint.get_connection(uri);
|
||||
|
||||
con->add_request_header("User Agent","WebSocket++/0.2.0 WebSocket++Chat/0.2.0");
|
||||
con->add_request_header("User-Agent","WebSocket++/0.2.0 WebSocket++Chat/0.2.0");
|
||||
con->add_subprotocol("com.zaphoyd.websocketpp.chat");
|
||||
|
||||
con->set_origin("http://zaphoyd.com");
|
||||
|
||||
Reference in New Issue
Block a user