Results of 1 - 10 of about 15 for protect (0.001 sec.)
- Swoole\Server::protect — Set the connection to be protected mode. | PHP 8.3 14838
- Swoole\Server::protect (PECL swoole >= 1.9.0) Swoole\Server::protect — Set the connection to be protected mode. 説明 public function Swoole\Server::protect ( int $fd , bool $is_protected = ? ): void パラメータ fd is_protected 戻り値 他のマニ
...
-
https://man.mtool.work/php/8.3/swoole-server.protect.html
- EventHttpRequest::getBufferEvent — Returns EventBufferEvent object | PHP 8.3 9195
- EventHttpRequest::getBufferEvent (PECL event >= 1.8.0) EventHttpRequest::getBufferEvent — Returns EventBufferEvent object 説明 public function EventHttpRequest::getBufferEvent (): EventBufferEvent Returns EventBufferEvent object which repre
... buffer event that the connection is using. 警告 The reference counter of the returned object will be incremented by one to protect internal structures against premature destruction when the method is called from a user callback. So the EventBufferEvent ...
-
https://man.mtool.work/php/8.3/eventhttprequest.getbufferevent.html
- The Swoole\Server class | PHP 8.3 9038
- The Swoole\Server class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Server { /* メソッド */ public function addlistener ( string $host , int $port , string $socket_type ): void public function addProcess ( swoole_process $proces
... blic function on ( string $event_name , callable $callback ): void public function pause ( int $fd ): void public function protect ( int $fd , bool $is_protected = ? ): void public function reload (): bool public function resume ( int $fd ): void public ... Register a callback function by event name. Swoole\Server::pause — Stop receiving data from the connection. Swoole\Server::protect — Set the connection to be protected mode. Swoole\Server::reload — Restart all the worker process. Swoole\Server::resume — ...
-
https://man.mtool.work/php/8.3/class.swoole-server.html
- EventBufferEvent::free — Free a buffer event | PHP 8.3 9038
- EventBufferEvent::free (PECL event >= 1.2.6-beta) EventBufferEvent::free — Free a buffer event 説明 public function EventBufferEvent::free (): void Free resources allocated by buffer event. Usually there is no need to call this method, sinc
... y memory usage, where we need to free resources as soon as possible. In such cases EventBufferEvent::free() may be used to protect the script against running up to the memory_limit . パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 ...
-
https://man.mtool.work/php/8.3/eventbufferevent.free.html
- The SyncSharedMemory class | PHP 8.3 8708
- The SyncSharedMemory class (PECL sync >= 1.1.0) はじめに A cross-platform, native, consistent implementation of named shared memory objects. Shared memory lets two separate processes communicate without the need for complex pipes or sockets
... ementations for PHP. Named shared memory is an alternative. Synchronization objects (e.g. SyncMutex) are still required to protect most uses of shared memory. クラス概要 class SyncSharedMemory { /* メソッド */ public function __construct ( string $name ...
-
https://man.mtool.work/php/8.3/class.syncsharedmemory.html
- SyncSharedMemory::__construct — Constructs a new SyncSharedMemory object | PHP ... 8551
- SyncSharedMemory::__construct (PECL sync >= 1.1.0) SyncSharedMemory::__construct — Constructs a new SyncSharedMemory object 説明 public function SyncSharedMemory::__construct ( string $name , int $size ) Constructs a named shared memory obj
... mory object cannot be created or opened. 例 例1 SyncSharedMemory::__construct() example <?php // You will probably need to protect shared memory with other synchronization objects. // Shared memory goes away when the last reference to it disappears. $me ...
-
https://man.mtool.work/php/8.3/syncsharedmemory.construct.html
- SyncSharedMemory::read — Copy data from named shared memory | PHP 8.3 8551
- SyncSharedMemory::read (PECL sync >= 1.1.0) SyncSharedMemory::read — Copy data from named shared memory 説明 public function SyncSharedMemory::read ( int $start = 0 , int $length = ? ) Copies data from named shared memory. パラメータ start
... aining the data read from shared memory. 例 例1 SyncSharedMemory::__construct() example <?php // You will probably need to protect shared memory with other synchronization objects. // Shared memory goes away when the last reference to it disappears. $me ...
-
https://man.mtool.work/php/8.3/syncsharedmemory.read.html
- SyncSharedMemory::write — Copy data to named shared memory | PHP 8.3 8551
- SyncSharedMemory::write (PECL sync >= 1.1.0) SyncSharedMemory::write — Copy data to named shared memory 説明 public function SyncSharedMemory::write ( string $string = ? , int $start = 0 ) Copies data to named shared memory. パラメータ stri
... the number of bytes written to shared memory. 例 例1 SyncSharedMemory::write() example <?php // You will probably need to protect shared memory with other synchronization objects. // Shared memory goes away when the last reference to it disappears. $me ...
-
https://man.mtool.work/php/8.3/syncsharedmemory.write.html
- The Swoole\Http\Server class | PHP 8.3 8063
- The Swoole\Http\Server class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Http\Server extends Swoole\Server { /* メソッド */ public function on ( string $event_name , callable $callback ): void public function start (): void /* 継
... nt_name , callable $callback ): void public function Swoole\Server::pause ( int $fd ): void public function Swoole\Server::protect ( int $fd , bool $is_protected = ? ): void public function Swoole\Server::reload (): bool public function Swoole\Server::r ...
-
https://man.mtool.work/php/8.3/class.swoole-http-server.html
- EventHttpConnection::setCloseCallback — Set callback for connection close | PHP... 8063
- EventHttpConnection::setCloseCallback (PECL event >= 1.8.0) EventHttpConnection::setCloseCallback — Set callback for connection close 説明 public function EventHttpConnection::setCloseCallback ( callable $callback , mixed $data = ? ): void
... { $conn = $req -> getConnection (); $conn -> setCloseCallback ( '_close_callback' , NULL ); /* By enabling Event::READ we protect the server against unclosed conections. This is a peculiarity of Libevent. The library disables Event::READ events on this ...
-
https://man.mtool.work/php/8.3/eventhttpconnection.setclosecallback.html