mirror of
https://github.com/samsonjs/cpwebsocket.git
synced 2026-03-25 09:15:48 +00:00
forgot to actually send a message in the usage example
This commit is contained in:
parent
984dbef933
commit
61a48b32aa
1 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue