OAuth::setRequestEngine
(PECL OAuth >= 1.0.0)
OAuth::setRequestEngine — The setRequestEngine purpose
Opis
public void OAuth::setRequestEngine
( int
$reqengine
)Sets the Request Engine, that will be sending the HTTP requests.
Ostrzeżenie
Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.
Parametry
-
reqengine -
The desired request engine. Set to
OAUTH_REQENGINE_STREAMSto use PHP Streams, orOAUTH_REQENGINE_CURLto use Curl.
Zwracane wartości
Nie jest zwracana żadna wartość.
Błędy/Wyjątki
Emits an OAuthException exception if an invalid request engine is chosen.
Przykłady
Przykład #1 OAuth::setRequestEngine() example
<?php
$consumer = new OAuth();
$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>
Zobacz też:
There are no user contributed notes for this page.
