(PECL stomp >= 0.1.0)
Stomp::subscribe -- stomp_subscribe — Registers to listen to a given destination
オブジェクト指向型 (method):
手続き型:
Registers to listen to a given destination.
linkdestinationheadersSee stomp_ack().
Stomp は本来非同期です。同期通信を実装するには receipt ヘッダを追加します。これを追加すると、サーバーがメッセージを受領するかタイムアウトに達するまではメソッドが何も返さないようになります。