Stomp/setup-Phpdoc专题
安装/配置
目录
需求
PECL/stomp requires PHP 5.2.2 or newer.
The » OpenSSL package >= 0.9.6 and the openssl extension may also be required to use stomp over SSL.
安装
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/stomp
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| stomp.default_broker | tcp://localhost:61613 | PHP_INI_ALL | |
| stomp.default_connection_timeout_sec | 2 | PHP_INI_ALL | |
| stomp.default_connection_timeout_usec | 0 | PHP_INI_ALL | |
| stomp.default_read_timeout_sec | 2 | PHP_INI_ALL | |
| stomp.default_read_timeout_usec | 0 | PHP_INI_ALL |
这是配置指令的简短说明。
stomp.default_broker string
The default broker URI to use when connecting to the message broker if
no other URI is specified.
stomp.default_connection_timeout_sec int
The seconds part of the default connection timeout.
stomp.default_connection_timeout_usec int
The microseconds part of the default connection timeout.
stomp.default_read_timeout_sec int
The seconds part of the default reading timeout.
stomp.default_read_timeout_usec int
The microseconds part of the default reading timeout.
资源类型
There is only one resource type used in the stomp extension - it's the link identifier for a stomp connection.