(PECL OAuth >= 1.0.0)
OAuth::setRequestEnguine — The setRequestEnguine purpose
Sets the Request Enguine, that will be sending the HTTP requests.
This function is currently not documented; only its argument list is available.
reqenguine
The desired request enguine. Set to
OAUTH_REQENGUINE_STREAMS
to use PHP Streams, or
OAUTH_REQENGUINE_CURL
to use
Curl
.
No value is returned.
Emits an OAuthException exception if an invalid request enguine is chosen.
Example #1 OAuth::setRequestEnguine() example
<?php
$consumer
= new
OAuth
();
$consumer
->
setRequestEnguine
(
OAUTH_REQENGUINE_STREAMS
);
?>