OAuth
PHP Manual

OAuth::setRequestEngine

(PECL OAuth >= 1.0.0)

OAuth::setRequestEngineThe setRequestEngine purpose

Descripción

public void OAuth::setRequestEngine ( string $reqengine )

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

Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

reqengine

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

Valores devueltos

No se devuelve ningún valor.

Errores/Excepciones

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

Ejemplos

Example #1 OAuth::setRequestEngine() example

<?php
$consumer 
= new OAuth();

$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>

Ver también


OAuth
PHP Manual