Skip to content

Commit

Permalink
Use transport
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingL123 committed Dec 31, 2018
1 parent 294ac62 commit a08ddb4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Ripcord/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,18 @@ public function __get($name)

return $result;
}

public function getTransportOptions()
{
if (isset($this->_transport)) {
return $this->_transport->getOptions();
}
}

public function setTransportOptions(array $options = [])
{
if (isset($this->_transport)) {
$this->_transport->setOptions($options);
}
}
}

0 comments on commit a08ddb4

Please sign in to comment.