PHP Doku:: The setRequestEngine purpose - oauth.setrequestengine.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzWeb ServicesOAuthThe OAuth classOAuth::setRequestEngine

Ein Service von Reinhard Neidl - Webprogrammierung.

The OAuth class

<<OAuth::setNonce

OAuth::setRSACertificate>>

OAuth::setRequestEngine

(PECL OAuth >= 1.0.0)

OAuth::setRequestEngineThe setRequestEngine purpose

Beschreibung

public void OAuth::setRequestEngine ( string $reqengine )

Sets the Request Engine, that will be sending the HTTP requests.

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Parameter-Liste

reqengine

The desired request engine. Set to OAUTH_REQENGINE_STREAMS to use PHP Streams, or OAUTH_REQENGINE_CURL to use Curl.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Fehler/Exceptions

Emits an OAuthException exception if an invalid request engine is chosen.

Beispiele

Beispiel #1 OAuth::setRequestEngine() example

<?php
$consumer 
= new OAuth();

$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>

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",...)