Fix a few for Example

This commit is contained in:
sta 2014-03-30 15:52:08 +09:00
parent 1a94864e86
commit 7f0dbe6259

View File

@ -47,7 +47,7 @@ namespace Example
}); });
#if DEBUG #if DEBUG
// Changing logging level // Changing the logging level
ws.Log.Level = LogLevel.Trace; ws.Log.Level = LogLevel.Trace;
#endif #endif
// Setting Per-message Compression // Setting Per-message Compression
@ -69,13 +69,13 @@ namespace Example
// Setting Cookies // Setting Cookies
//ws.SetCookie (new Cookie ("name", "nobita")); //ws.SetCookie (new Cookie ("name", "nobita"));
//ws.SetCookie (new Cookie ("role", "\"idiot, gunfighter\"")); //ws.SetCookie (new Cookie ("roles", "\"idiot, gunfighter\""));
// Connecting to the server // Connecting to the server
ws.Connect (); ws.Connect ();
//ws.ConnectAsync (); //ws.ConnectAsync ();
Console.WriteLine ("\nType \"exit\" to exit.\n"); Console.WriteLine ("\nType 'exit' to exit.\n");
while (true) { while (true) {
Thread.Sleep (1000); Thread.Sleep (1000);
Console.Write ("> "); Console.Write ("> ");