這些函式的行為受 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
integer
The seconds part of the default connection timeout.
stomp.default_connection_timeout_usec
integer
The microseconds part of the default connection timeout.
stomp.default_read_timeout_sec
integer
The seconds part of the default reading timeout.
stomp.default_read_timeout_usec
integer
The microseconds part of the default reading timeout.