Merged enix's fix (THX enix) and made a little change (because close method dose not work).
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,11 +14,11 @@ namespace Example
|
||||
//using (WebSocket ws = new WebSocket("ws://localhost:8000/"))
|
||||
using (WebSocket ws = new WebSocket("ws://localhost:8000/", "chat"))
|
||||
{
|
||||
/*ws.OnOpen += (o, e) =>
|
||||
ws.OnOpen += (o, e) =>
|
||||
{
|
||||
//Do something.
|
||||
ws.Send("Hi, all!");
|
||||
};
|
||||
*/
|
||||
|
||||
ws.OnMessage += (o, s) =>
|
||||
{
|
||||
#if NOTIFY
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user