PHP Doku:: Set the login. - amqpconnection.setlogin.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteAMQPThe AMQPConnection classAMQPConnection::setLogin

Ein Service von Reinhard Neidl - Webprogrammierung.

The AMQPConnection class

<<AMQPConnection::setHost

AMQPConnection::setPassword>>

AMQPConnection::setLogin

(No version information available, might only be in SVN)

AMQPConnection::setLoginSet the login.

Beschreibung

public void AMQPConnection::setLogin ( string $login )

This method will set the login string used to connect to the AMQP broker.

Parameter-Liste

login

The login string used to authenticate with the AMQP broker.

Rückgabewerte

void

Beispiele

Beispiel #1 AMQPConnection::setLogin() example

<?php

/* Create a new connection */
$cnn = new AMQPConnection();

// set the login
$cnn->setLogin('myusername');

?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)