運(yùn)行時(shí)配置

這些函數(shù)的行為受 php.ini 中的設(shè)置影響。

Stomp 配置選項(xiàng)
名字 默認(rèn) 可修改范圍 更新日志
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.