update : 2015.11.03
php.shukuma.com검색:
|
Stomp::subscribestomp_subscribe(PECL stomp >= 0.1.0) Stomp::subscribe -- stomp_subscribe — Registers to listen to a given destination 설명객체 기반 형식 (method):
public bool Stomp::subscribe
( string
$destination
[, array $headers
] )절차식 형식:
bool stomp_subscribe
( resource
$link
, string $destination
[, array $headers
] )Registers to listen to a given destination. 인수
반환값
성공 시 주의Tip
Stomp is inherently asynchronous. Synchronous communication can be implemented adding a receipt header. This will cause methods to not return anything until the server has acknowledged receipt of the message or until read timeout was reached. 예제See stomp_ack(). |