update : 2015.11.03
php.shukuma.com검색:
|
Stomp::ackstomp_ack(PECL stomp >= 0.1.0) Stomp::ack -- stomp_ack — Acknowledges consumption of a message 설명객체 기반 형식 (method): 절차식 형식: Acknowledges consumption of a message from a subscription using client acknowledgment. 인수
반환값
성공 시 주의
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. 예제
Example #1 객체 기반 형식
<?php
Example #2 절차식 형식
<?php |