Skip to content

Commit

Permalink
websocket add connetion public and private
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jan 6, 2022
1 parent 6440d61 commit 3a6481a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,4 +716,13 @@ $okex->getSubscribe([
print_r(json_encode($data));
},true);
```

Re link websocket public quotation data and private data
```php
$okex->reconPublic();

$okex->reconPrivate($key);
```


[More Test](https://github.com/zhouaini528/okex-php/tree/master/tests/websocket/client.php)

0 comments on commit 3a6481a

Please sign in to comment.