tweaks doc / license + send proper error code when closing the connecion

This commit is contained in:
Benjamin Sergeant
2018-11-12 09:00:55 -08:00
parent 43fcf93584
commit a7a422d6ed
7 changed files with 137 additions and 44 deletions

View File

@ -51,7 +51,7 @@ int main(int argc, char* argv[])
bool done = false;
ix::SatoriConnection satoriConnection;
ix::WebSocketPerMessageDeflateOptions webSocketPerMessageDeflateOptions(
false, false, false, 15, 15);
true, false, false, 15, 15);
satoriConnection.configure(appkey, endpoint, rolename, rolesecret,
webSocketPerMessageDeflateOptions);
satoriConnection.connect();