stream_bucket_new
reactphp/socket
Supported Versions: PHP 5, PHP 7, PHP 8
Create a new bucket for use on the current stream
<?php stream_bucket_new
(
resource $stream
,
string $buffer
):
object