Swoole\WebSocket\Server::unpack

(PHP 5 >= 5.2.0, PHP 7, 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