Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0Vu committed Dec 27, 2023
1 parent 15ae8ea commit 6684b46
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/RequestManagers/WsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,31 @@ public function generateRequest($url, array $subProtocols, array $headers) {
class WsClient {

public $url;
public $futures = array();
public $subscriptions = array();
public $rejections = array();
public $options = array();

public $on_message_callback;
public $on_error_callback;
public $on_close_callback;
public $on_connected_callback;

public $error;
public $connectionStarted;
public $connectionEstablished;
public $timeout = 1;
// is server with feature ping/pong and keep alive?
// can remove this if not?
public $pingInterval;
public $keepAlive = 30;
public $maxPingPongMisses = 2.0;
public $lastPong = null;
public $ping = null;
public $verbose = false; // verbose output
public $gunzip = false;
public $inflate = false;
public $connection = null;
public $connected;
public $isConnected = false;
public $noOriginHeader = true;
public $heartbeat = null;

// ratchet/pawl/reactphp stuff
public $connector = null;

protected $deferredMessages;
protected $deferredMessages = [];

public function resolve($result) {
$deferred = array_shift($this->deferredMessages);
Expand Down

0 comments on commit 6684b46

Please sign in to comment.