OAuth::setRequestEngine
(PECL OAuth >= 1.0.0)
OAuth::setRequestEngine — The setRequestEngine purpose
Descrição
public void OAuth::setRequestEngine
( int $reqengine
)
Sets the Request Engine, that will be sending the HTTP requests.
Aviso
Esta função não está documentada; somente a lista de argumentos está disponível.
Parâmetros
- reqengine
-
The desired request engine. Set to OAUTH_REQENGINE_STREAMS to use PHP Streams, or OAUTH_REQENGINE_CURL to use Curl.
Valor Retornado
Não há valor retornado.
Erros
Emits an OAuthException exception if an invalid request engine is chosen.
Exemplos
Exemplo #1 OAuth::setRequestEngine() example
<?php
$consumer = new OAuth();
$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>
Veja Também
There are no user contributed notes for this page.
