mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -70,7 +70,7 @@ class Client
|
|||||||
|
|
||||||
public function connectToServer(string $sharedUrl, $subdomain, $authToken = ''): PromiseInterface
|
public function connectToServer(string $sharedUrl, $subdomain, $authToken = ''): PromiseInterface
|
||||||
{
|
{
|
||||||
$deferred = new \React\Promise\Deferred();
|
$deferred = new Deferred();
|
||||||
$promise = $deferred->promise();
|
$promise = $deferred->promise();
|
||||||
|
|
||||||
$wsProtocol = $this->configuration->port() === 443 ? "wss" : "ws";
|
$wsProtocol = $this->configuration->port() === 443 ? "wss" : "ws";
|
||||||
|
|||||||
Reference in New Issue
Block a user