|
Stomp::__constructstomp_connectOpens a connection DescriptionObject-oriented style (constructor):
public Stomp::__construct(
string $broker = ini_get("stomp.default_broker_uri"),string $username = ?,string $password = ?,array $headers = ?) Procedural style: resource stomp_connect(
string $broker = ini_get("stomp.default_broker_uri"),string $username = ?,string $password = ?,array $headers = ?) Opens a connection to a stomp compliant Message Broker. Parameters
Return Values
Changelog
Examples
Example #1 Object-oriented style
Example #2 Procedural style
|