PHP » GoLang |
login |
register |
about
|
GoLang SAMConnection::subscribe
request it (347)
GoLang replacement for PHP's SAMConnection::subscribe
[edit | history]
SAMConnection::subscribe(PECL sam >= 0.1.0) SAMConnection::subscribe — Create a subscription to a specified topic Description
string SAMConnection::subscribe
( string
$targetTopic
)The "subscribe" method is used to create a new subscription to a specified topic. Parameters
Return Values
A subscription identifier that can be used in a subsequent receive call as
a selector to obtain any topic data or Examples
Example #1 Subscribe to a topic
<?php |
more
Recently updated
more
Most requested
more
Last requests
|