downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

OAuth::setRSACertificate> <OAuth::setNonce
[edit] Last updated: Fri, 25 May 2012

view this page in

OAuth::setRequestEngine

(PECL OAuth >= 1.0.0)

OAuth::setRequestEnginesetRequestEngine

説明

public void OAuth::setRequestEngine ( int $reqengine )

HTTP リクエストの送信に使うリクエストエンジンを設定します。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

reqengine

使いたいリクエストエンジン。OAUTH_REQENGINE_STREAMS は PHP のストリームを使い、OAUTH_REQENGINE_CURLCurl を使います。

返り値

値を返しません。

エラー / 例外

無効なリクエストエンジンを選んだ場合には OAuthException が発生します。

例1 OAuth::setRequestEngine() example

<?php
$consumer 
= new OAuth();

$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>


add a note add a note User Contributed Notes OAuth::setRequestEngine
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites