OAuth::setRequestEngine

(PECL OAuth >= 1.0.0)

OAuth::setRequestEngineThe setRequestEngine purpose

Опис

public void OAuth::setRequestEngine ( int $reqengine )

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

Увага

This function is currently not documented; only its argument list is available.

Параметри

reqengine

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

Значення, що повертаються

Не повертає значень.

Помилки/Винятки

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

Приклади

Приклад #1 OAuth::setRequestEngine() example

<?php
$consumer 
= new OAuth();

$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>

Прогляньте Також

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top