PHP » GoLang |
login |
register |
about
|
GoLang Stomp::__construct
request it (478)
GoLang replacement for PHP's Stomp::__construct
[edit | history]
Stomp::__constructstomp_connect(PECL stomp >= 0.1.0) Stomp::__construct -- stomp_connect — Opens 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
<?php
Example #2 Procedural style
<?php |
more
Recently updated
more
Most requested
more
Last requests
|