(PECL OAuth >= 1.0.0)
OAuth::setRequestEngine — The setRequestEngine purpose
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.
No value is returned.
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);
?>
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant