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)
stringURL to send request to
stringRequest method to use (optional, default is GET)
mixedAssociative array of parameter values to be passed or message body (optional, default is none)
stringValues to include in the request header (optional, default is none)
send() : boolean
booleanTRUE 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