Stud.IP
5.4
|
Public Member Functions | |
__construct () | |
initOptions () | |
__destruct () | |
setOption ($key, $value) | |
request ($url, $postfields=null) | |
Protected Member Functions | |
sendRequest ($url, $postfields=null) | |
Protected Attributes | |
$options | |
$ch | |
__construct | ( | ) |
LonCapaRequest constructor.
__destruct | ( | ) |
close connection
initOptions | ( | ) |
initializes curl options
request | ( | $url, | |
$postfields = null |
|||
) |
do a curl request on the given url and return the result if successfull
$url | string | |
array | $postfields |
|
protected |
do a curl request on the given url and return the result if successfull
$url | string | |
array | $postfields |
setOption | ( | $key, | |
$value | |||
) |
set curl options
$key | |
$value |
|
protected |
|
protected |