OAuth::setRequestEngine
(PECL OAuth >= 1.0.0)
OAuth::setRequestEngine — The setRequestEngine purpose
설명
public void OAuth::setRequestEngine
( int $reqengine
)
Sets the Request Engine, that will be sending the HTTP requests.
Warning
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.
인수
- 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.
예제
Example #1 OAuth::setRequestEngine() example
<?php
$consumer = new OAuth();
$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);
?>
There are no user contributed notes for this page.
