php8.5
Home/ Manual/ websocket / server/ Swoole\WebSocket\Server::unpack

Swoole\WebSocket\Server::unpack

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Unpack the binary data received from the client.

Description

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

Parameters

data

Return Values

Source: reference/swoole/swoole/websocket/server/unpack.xml · from the official PHP manual (php/doc-en)