Results of 1 - 10 of about 15 for Packager (0.001 sec.)
- The Yar_Client_Packager_Exception class | PHP 8.3 10972
- The Yar_Client_Packager_Exception class (No version information available, might only be in Git) はじめに Thrown when the response body cannot be unpacked with the requested packager (exception code YAR_ERR_PACKAGER ). クラス概要 class Yar_
... Client_Packager_Exception extends Yar_Client_Exception { /* 継承したプロパティ */ protected string $ message = "" ; private string $ strin ...
-
https://man.mtool.work/php/8.3/class.yar-client-packager-exception.html
- The Yar_Server_Packager_Exception class | PHP 8.3 10972
- The Yar_Server_Packager_Exception class (No version information available, might only be in Git) はじめに Thrown when the request body cannot be unpacked with the packager announced in the request (exception code YAR_ERR_PACKAGER ). クラス概
... 要 class Yar_Server_Packager_Exception extends Yar_Server_Exception { /* 継承したプロパティ */ protected string $ message = "" ; private string $ strin ...
-
https://man.mtool.work/php/8.3/class.yar-server-packager-exception.html
- 定義済み定数 | PHP 8.3 10972
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 YAR_VERSION ( string ) YAR_CLIENT_PROTOCOL_HTTP ( int ) YAR_OPT_PACKAGER ( in
... t ) YAR_OPT_TIMEOUT ( int ) YAR_OPT_CONNECT_TIMEOUT ( int ) YAR_OPT_HEADER ( array ) 2.0.4 以降 YAR_PACKAGER_PHP ( string ) YAR_PACKAGER_JSON ( string ) YAR_ERR_OKEY ( int ) YAR_ERR_OUTPUT ( int ) YAR_ERR_TRANSPORT ( int ) YAR_ERR_ ... REQUEST ( int ) YAR_ERR_PROTOCOL ( int ) YAR_ERR_PACKAGER ( int ) YAR_ERR_EXCEPTION ( int ) 他のマニュアルの関連ページ Python builtins Linux JM HUGE_VAL(3) Linux JM HUGE_VALF(3) Li ...
-
https://man.mtool.work/php/8.3/yar.constants.html
- ウェブサービス | PHP 8.3 10432
- ウェブサービス OAuth インストール/設定 定義済み定数 例 OAuth 関数 OAuth — OAuth クラス OAuthProvider — OAuthProvider クラス OAuthException — OAuthException クラス SOAP インストール/設定 定義済み定数 SOAP 関数 SoapClient — SoapClient クラス
... _Exception — The Yar_Server_Exception class Yar_Server_Output_Exception — The Yar_Server_Output_Exception class Yar_Server_Packager_Exception — The Yar_Server_Packager_Exception class Yar_Server_Protocol_Exception — The Yar_Server_Protocol_Exception clas ... equest_Exception — The Yar_Server_Request_Exception class Yar_Client_Exception — The Yar_Client_Exception class Yar_Client_Packager_Exception — The Yar_Client_Packager_Exception class Yar_Client_Protocol_Exception — The Yar_Client_Protocol_Exception clas ...
-
https://man.mtool.work/php/8.3/refs.webservice.html
- Yet Another RPC Framework | PHP 8.3 9787
- Yet Another RPC Framework はじめに Yar (Yet another RPC framework) is a light, concurrent RPC framework which aims to provide a simple and easy way to do communication between PHP applications. It can also issue multiple calls to remote ser
... on rather than a userland library. It uses a compact binary protocol over HTTP, HTTPS or TCP and ships with three built-in packagers ( php , json and, when built with --enable-msgpack , msgpack ), so no extra packages or proxy processes are required. The ... eption::getType — Retrieve exception's type Yar_Server_Output_Exception — The Yar_Server_Output_Exception class Yar_Server_Packager_Exception — The Yar_Server_Packager_Exception class Yar_Server_Protocol_Exception — The Yar_Server_Protocol_Exception clas ... Yar_Client_Exception — The Yar_Client_Exception class Yar_Client_Exception::getType — Retrieve exception's type Yar_Client_Packager_Exception — The Yar_Client_Packager_Exception class Yar_Client_Protocol_Exception — The Yar_Client_Protocol_Exception clas ...
-
https://man.mtool.work/php/8.3/book.yar.html
- 実行時設定 | PHP 8.3 9787
- 実行時設定 php.ini の設定により動作が変化します。 Yar 設定オプション 名前 デフォルト 変更可能 変更履歴 yar.connect_timeout 1000 INI_ALL yar.content_type application/octet-stream INI_ALL yar.debug Off INI_ALL yar.expose_info On INI_PERDIR ya
... r.packager php INI_PERDIR yar.ssl_verify Off INI_ALL yar.timeout 5000 INI_ALL 以下に設定ディレクティブに関する 簡単な説明を示します。 ... e for non-POST (usually GET) requests. When this directive is off, such requests throw a Yar_Server_Exception instead. yar.packager string The default packager used to serialize request and response bodies. Valid values are php (PHP serialization), json ... Yar is built with msgpack support, the default becomes msgpack . This value can be overridden per client with the YAR_OPT_PACKAGER option. yar.ssl_verify bool Whether to verify the TLS certificate of HTTPS servers. When on, the curl transport sets CURLO ...
-
https://man.mtool.work/php/8.3/yar.configuration.html
- Yar_Client::setOpt — Set client options | PHP 8.3 9474
- Yar_Client::setOpt (PECL yar >= 1.0.0) Yar_Client::setOpt — Set client options 説明 public function Yar_Client::setOpt ( int $name , mixed $value ): Yar_Client | bool Sets an option on the client. Options are evaluated when a call is issued
... , so they can be changed between calls. パラメータ name One of the YAR_OPT_* constants: YAR_OPT_PACKAGER — a packager name: php , json or, when built with msgpack support, msgpack YAR_OPT_PERSISTENT — a boolean persistent-conne ... nt ( "http://api.example.com/operator.php" ); /* Set timeout to 1s */ $client -> setOpt ( YAR_OPT_TIMEOUT , 1000 ); /* Set packager to JSON */ $client -> setOpt ( YAR_OPT_PACKAGER , "json" ); /* Set custom headers */ $client -> setOpt ( YAR_OPT_HEADER , ...
-
https://man.mtool.work/php/8.3/yar-client.setopt.html
- The Yar Protocol | PHP 8.3 8934
- The Yar Protocol Yar does not rely on a schema or IDL file: everything is exchanged on the wire as plain bytes. Any language that can read and write bytes can speak to a Yar service, without installing any framework at all — build one fixed
... nsigned char token[32]; /* request token (authentication) */ uint32_t body_len; /* length of the whole body, including the packager identifier */ } __attribute__ ((packed)) yar_header_t; The id , magic_num , reserved and body_len fields are stored in net ... work byte order (big-endian); the remaining fields are raw bytes. The body starts with an 8-byte packager identifier — PHP , JSON or MSGPACK , zero-padded — telling the receiver how the remainder was encoded, followed by the ser ... 例1 Calling a Yar service without the extension The following self-contained script builds a valid Yar request for the php packager with nothing but standard sockets, sends it to a service URI, and prints the decoded response. Running it against the Oper ...
-
https://man.mtool.work/php/8.3/yar.protocol.html
- インストール手順 | PHP 8.3 8708
- インストール手順 Yar can be installed in one of three ways: via PECL, via PIE, or by building it from source. この » PECL 拡張モジュールは PHP にバンドルされていません。 この PECL 拡張モジュールをインストールする方法は、 マニュアルの PECL 拡
... Extensions, by running the following on the command line. 例2 Installing Yar with PIE pie install laruence/yar The msgpack packager can be enabled at install time: 例3 Installing Yar with PIE and msgpack pie install laruence/yar --enable-msgpack The sour ... l Location of the cURL installation, if it is not found in the default include paths. --enable-msgpack Enables the msgpack packager and makes the msgpack extension an optional dependency. When Yar is built with this option, the default value of yar.packa ...
-
https://man.mtool.work/php/8.3/yar.installation.html
- Yar_Concurrent_Client::call — Register a concurrent call | PHP 8.3 7210
- Yar_Concurrent_Client::call (PECL yar >= 1.0.0) Yar_Concurrent_Client::call — Register a concurrent call 説明 public static function Yar_Concurrent_Client::call ( string $uri , string $method , ? array $parameters = null , ? callable $callb
... :: call ( "http://api.example.com/operator.php" , "some_method" , array( "parameters" )); /* This server accepts the JSON packager */ Yar_Concurrent_Client :: call ( "http://api.example.com/operator.php" , "some_method" , array( "parameters" ), "callbac ... k" , NULL , array( YAR_OPT_PACKAGER => "json" )); /* Custom timeout */ Yar_Concurrent_Client :: call ( "http://api.example.com/operator.php" , "some_method" , ...
-
https://man.mtool.work/php/8.3/yar-concurrent-client.call.html