forgot to actually send a message in the usage example

This commit is contained in:
Sami Samhuri 2010-04-02 11:16:54 -07:00
parent 984dbef933
commit 61a48b32aa

View file

@ -46,6 +46,13 @@ var webSocket = [CPWebSocket openWebSocketWithURL: @"ws://localhost:8080" delega
{
CPLog('web socket error');
}
// ...
// somewhere else
// ...
[webSocket send: @"Hey, this is pretty slick!"];
</code></pre>