PhpAmqpLib/Helper/Protocol/Protocol080.php 1 location
|
@@ 102-109 (lines=8) @@
|
| 99 |
|
/** |
| 100 |
|
* @return array |
| 101 |
|
*/ |
| 102 |
|
public function connectionOpen($virtual_host = '/', $capabilities = '', $insist = false) |
| 103 |
|
{ |
| 104 |
|
$args = new AMQPWriter(); |
| 105 |
|
$args->write_shortstr($virtual_host); |
| 106 |
|
$args->write_shortstr($capabilities); |
| 107 |
|
$args->write_bits(array($insist)); |
| 108 |
|
return array(10, 40, $args); |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
|
| 112 |
|
|
PhpAmqpLib/Helper/Protocol/Protocol091.php 1 location
|
@@ 102-109 (lines=8) @@
|
| 99 |
|
/** |
| 100 |
|
* @return array |
| 101 |
|
*/ |
| 102 |
|
public function connectionOpen($virtual_host = '/', $capabilities = '', $insist = false) |
| 103 |
|
{ |
| 104 |
|
$args = new AMQPWriter(); |
| 105 |
|
$args->write_shortstr($virtual_host); |
| 106 |
|
$args->write_shortstr($capabilities); |
| 107 |
|
$args->write_bits(array($insist)); |
| 108 |
|
return array(10, 40, $args); |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
|
| 112 |
|
|