PHP 8.3.4 Released!

OAuth::setRequestEngine

(PECL OAuth >= 1.0.0)

OAuth::setRequestEngineThe setRequestEngine purpose

Açıklama

public OAuth::setRequestEngine(int $reqengine): void

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

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece bağımsız değişken listesi mevcuttur.

Bağımsız Değişkenler

reqengine

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

Dönen Değerler

Hiçbir değer dönmez.

Hatalar/İstisnalar

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

Örnekler

Örnek 1 OAuth::setRequestEngine() example

<?php
$consumer
= new OAuth();

$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>

Ayrıca Bakınız

add a note

User Contributed Notes

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