Class to represent an OAuth datastore
author | Stephen P Vickers |
---|---|
version | 2.5.00 |
license | GNU Lesser General Public License, version 3 |
package | LTI |
__construct(string $url, string $method= 'GET'
, mixed $params= NULL
, string $header= NULL
)
string
URL to send request to
string
Request method to use (optional, default is GET)
mixed
Associative array of parameter values to be passed or message body (optional, default is none)
string
Values to include in the request header (optional, default is none)
send() : boolean
boolean
TRUE if the request was successful$error : \error
''
$request : \request
NULL
$request_headers : \request_headers
''
$response : \response
NULL
$response_headers : \response_headers
''
$status : \status
0
$method : \method
NULL
$url : \url
NULL