« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 100 for Callbacks (0.003 sec.)
EventBufferEvent::setCallbacks — Assigns read, write and event(status) callback... 13744
EventBufferEvent::setCallbacks (PECL event >= 1.2.6-beta) EventBufferEvent::setCallbacks — Assigns read, write and event(status) callbacks 説明 public function EventBufferEvent::setCallbacks ( callable $readcb , callable $writecb , callable ... $eventcb , mixed $arg = ? ): void Assigns read, write and event(status) callbacks. パラメータ readcb Read event callback. See About buffer event callbacks . writecb Write event callback. See About buffer ... event callbacks . eventcb Status-change event callback. See About buffer event callbacks . arg A variable that will be passed to all the c ... structs EventBufferEvent object 他のマニュアルの関連ページ FastAPI Status Codes Docker status Django 1.9.7 FastAPI OpenAPI Callbacks ...
https://man.mtool.work/php/8.3/eventbufferevent.setcallbacks.html
EventConfig::setMaxDispatchInterval — Prevents priority inversion | PHP 8.3 12405
EventConfig::setMaxDispatchInterval (PECL event >= 2.1.0-alpha) EventConfig::setMaxDispatchInterval — Prevents priority inversion 説明 public function EventConfig::setMaxDispatchInterval ( int $max_interval , int $max_callbacks , int $min_p ... riority ): void Prevents priority inversion by limiting how many low-priority event callbacks can be invoked before checking for more high-priority events. 注意 : Available since libevent 2.1.0-alpha . パラメータ max ... _interval An interval after which Libevent should stop running callbacks and check for more events, or 0 , if there should be no such interval. max_callbacks A number of callbacks after which Lib ... event should stop running callbacks and check for more events, or -1 , if there should be no such limit. min_priority A priority below which max_interval and ...
https://man.mtool.work/php/8.3/eventconfig.setmaxdispatchinterval.html
About buffer event callbacks | PHP 8.3 10649
About buffer event callbacks An object of EventBufferEvent class represents a buffer event . The asynchronous nature of I/O performed by Libevent implies that a socket(or other kind of file descriptor) is not always available. Event invokes ... corresponding callbacks when the resource becomes available for reading or writing, or when some event occurs(e.g. error, "end of line" etc.). Rea ... d and write callbacks should match the following prototype: function callback ( EventBufferEvent $bev = null , mixed $arg = null ): void bev Ass ... ociated EventBufferEvent object. arg Custom variable attached to all callbacks via EventBufferEvent::__construct() , or EventBufferEvent::setCallbacks() . Event callback should match the following prot ...
https://man.mtool.work/php/8.3/eventbufferevent.about.callbacks.html
The EventBufferEvent class | PHP 8.3 10311
The EventBufferEvent class (PECL event >= 1.2.6-beta) はじめに Represents Libevent's buffer event. Usually an application wants to perform some amount of data buffering in addition to just responding to events. When we want to write data, f ... sists of an underlying transport (like a socket), a read buffer, and a write buffer. Instead of regular events, which give callbacks when the underlying transport is ready to be read or written, a buffer event invokes its user-supplied callbacks when it h ... UT = 64 ; const int CONNECTED = 128 ; const int OPT_CLOSE_ON_FREE = 1 ; const int OPT_THREADSAFE = 2 ; const int OPT_DEFER_CALLBACKS = 4 ; const int OPT_UNLOCK_CALLBACKS = 8 ; const int SSL_OPEN = 0 ; const int SSL_CONNECTING = 1 ; const int SSL_ACCEPTING ... Buffer public function read ( int $size ): string public function readBuffer ( EventBuffer $buf ): bool public function setCallbacks ( callable $readcb , callable $writecb , callable $eventcb , mixed $arg = ? ): void public function setPriority ( int $pri ...
https://man.mtool.work/php/8.3/class.eventbufferevent.html
Swoole\Event::set — Modify event listener callbacks and mask | PHP 8.3 9817
Swoole\Event::set (PECL swoole >= 1.9.0) Swoole\Event::set — Modify event listener callbacks and mask 説明 public static function Swoole\Event::set ( mixed $sock , callable $read_callback , callable $write_callback = ? , int $flags = ? ): b ... ool Modifies the event listener callbacks and mask for the given file descriptor. 注意 : When $read_callback is not null, the readable event callback function will ... ite event listening, while setting SWOOLE_EVENT_WRITE alone disables read event listening. 警告 Swoole\Event::set replaces callbacks but does not free them. Specifying null for callbacks (e.g., read_callback/write_callback) preserves the existing callback ...
https://man.mtool.work/php/8.3/swoole-event.set.html
EventBufferEvent::__construct — Constructs EventBufferEvent object | PHP 8.3 9141
EventBufferEvent::__construct (PECL event >= 1.2.6-beta) EventBufferEvent::__construct — Constructs EventBufferEvent object 説明 public function EventBufferEvent::__construct ( EventBase $base , mixed $socket = null , int $options = 0 , cal ... ts extension) options One of EventBufferEvent::OPT_* constants , or 0 . readcb Read event callback. See About buffer event callbacks . writecb Write event callback. See About buffer event callbacks . eventcb Status-change event callback. See About buffer ... event callbacks . arg A variable that will be passed to all the callbacks. 参考 EventBufferEvent::sslFilter() - Create a new SSL buffer ev ...
https://man.mtool.work/php/8.3/eventbufferevent.construct.html
yaml_emit_file — YAML 形式にした値をファイルに送る | PHP 8.3 7724
yaml_emit_file (PECL yaml >= 0.5.0) yaml_emit_file — YAML 形式にした値をファイルに送る 説明 function yaml_emit_file ( string $filename , mixed $data , int $encoding = YAML_ANY_ENCODING , int $linebreak = YAML_ANY_BREAK , array $callbacks = ... のいずれか。 linebreak 出力時の改行形式。 YAML_ANY_BREAK 、 YAML_CR_BREAK 、 YAML_LN_BREAK 、 YAML_CRLN_BREAK のいずれか。 callbacks YAML ノードの発行用のコンテンツハンドラ。 クラス名 => callable 形式の連想配列となります。 詳細は 発行コールバック を参照く ... ださい。 戻り値 成功した場合に true を返します。 変更履歴 バージョン 説明 PECL yaml 1.1.0 callbacks パラメータが追加されました。 参考 yaml_emit() - YAML 形式にした値を返す yaml_parse() - YAML ストリームをパースする 他のマニ ...
https://man.mtool.work/php/8.3/function.yaml-emit-file.html
zookeeper_dispatch — Calls callbacks for pending operations | PHP 8.3 7724
zookeeper_dispatch (PECL zookeeper >= 0.4.0) zookeeper_dispatch — Calls callbacks for pending operations 説明 function zookeeper_dispatch (): void The zookeeper_dispatch() function calls the callbacks passed by operations like Zookeeper::ge ... ー / 例外 This method emits PHP warning when callback could not be invoked. 例 例1 zookeeper_dispatch() example #1 Dispatch callbacks manually. <?php $client = new Zookeeper (); $client -> connect ( 'localhost:2181' ); $client -> get ( '/zookeeper' , funct ...
https://man.mtool.work/php/8.3/function.zookeeper-dispatch.html
ssh2_connect — SSH サーバーに接続する | PHP 8.3 7555
ssh2_connect (PECL ssh2 >= 0.9.0) ssh2_connect — SSH サーバーに接続する 説明 function ssh2_connect ( string $host , int $port = 22 , array $methods = ? , array $callbacks = ? ): resource | false リモートの SSH サーバーとの接続を確立します。 ... 的に有効にしない限り、構成している » libssh2 によって無効にされます。 詳細は構成するライブラリのドキュメントを参照ください。 callbacks callbacks は以下のパラメータのいくつかあるいは全てを含む連想配列 コールバックパラメータ インデックス 意味 プロトタイプ ign ... ' , 'comp' => 'none' ), 'server_to_client' => array( 'crypt' => 'aes256-cbc,aes192-cbc,aes128-cbc' , 'comp' => 'none' )); $callbacks = array( 'disconnect' => 'my_ssh_disconnect' ); $connection = ssh2_connect ( 'shell.example.com' , 22 , $methods , $callba ...
https://man.mtool.work/php/8.3/function.ssh2-connect.html
EventHttp::setAllowedMethods — Sets which HTTP methods are supported in request... 7477
EventHttp::setAllowedMethods (PECL event >= 1.4.0-beta) EventHttp::setAllowedMethods — Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks 説明 public function EventHttp::setAllowedMethods ... ( int $methods ): void Sets which HTTP methods are supported in requests accepted by this server, and passed to user callbacks If not supported they will generate a "405 Method not allowed" response. By default this includes the following methods: G ...
https://man.mtool.work/php/8.3/eventhttp.setallowedmethods.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT