Skip to content

Commit

Permalink
Private and Public channel reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jul 8, 2021
1 parent d8ab0bc commit 6a1fdfd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/HuobiWebSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,18 @@ public function getSubscribes($callback=null,$daemon=false){
return $this->client()->getSubscribes($callback,$daemon);
}

/**
* Private channel reconnect
* @param string $key
*/
public function reconPrivate(string $key){
$this->client()->reconPrivate($key);
}

/**
* Public channel reconnect
*/
public function reconPublic(){
$this->client()->reconPublic();
}
}

0 comments on commit 6a1fdfd

Please sign in to comment.