stream_set_timeout
reactphp/event-loop
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Set timeout period on a stream
Alias
socket_set_timeout
<?php stream_set_timeout
(
resource $stream
,
int $seconds
,
int $microseconds
=
0
):
bool