update : 2015.11.03
php.shukuma.com검색:
|
SAMConnection::subscribe(PECL sam >= 0.1.0) SAMConnection::subscribe — Create a subscription to a specified topic. 설명
string SAMConnection::subscribe
( string
$targetTopic
)The "subscribe" method is used to create a new subscription to a specified topic. 인수
반환값
A subscription identifier that can be used in a subsequent receive call as
a selector to obtain any topic data or 예제
Example #1 Subscribe to a topic
<?php |