Swoole\Http\Client::upgrade

(PECL swoole >= 1.9.0)

Swoole\Http\Client::upgradeFaz um upgrade para o protocolo websocket.

Descrição

public Swoole\Http\Client::upgrade(string $path, string $callback): void

Parâmetros

path

callback

Valor Retornado