Php/docs/oauth.setrequestengine
From Get docs
OAuth::setRequestEngine
(PECL OAuth >= 1.0.0)
OAuth::setRequestEngine — The setRequestEngine purpose
Description
public OAuth::setRequestEngine
( int $reqengine
) : void
Sets the Request Engine, that will be sending the HTTP requests.
Warning This function is currently not documented; only its argument list is available.
Parameters
reqengine
- The desired request engine. Set to
OAUTH_REQENGINE_STREAMS
to use PHP Streams, orOAUTH_REQENGINE_CURL
to use Curl.
Return Values
No value is returned.
Examples
Example #1 OAuth::setRequestEngine() example
<?php$consumer = new OAuth();$consumer->setRequestEngine(OAUTH_REQENGINE_STREAMS);?>