Swoole\WebSocket\Server::unpack

(PECL swoole >= 1.9.0)

Swoole\WebSocket\Server::unpackUnpack the binary data received from the client.

Description

public static Swoole\WebSocket\Server::unpack(binary $data): string

Parameters

data

Return Values