A curl wrapper for bbb.
More...
|
|
| __construct () |
| | Constructor for the class.
|
| |
| | get ($url, $params=[], $options=[]) |
| | Fetch the specified URL via a GET request.
|
| |
|
| get_content_type () |
| | Fetch the content type.
|
| |
| | head ($url, $options=[]) |
| | Fetch the specified URL via a HEAD request.
|
| |
| | post ($url, $params='', $options=[]) |
| | HTTP POST method.
|
| |
| | set_content_type (string $type) |
| | Set the desired current content type.
|
| |
◆ get()
| mod_bigbluebuttonbn\local\proxy\curl::get |
( |
| $url, |
|
|
| $params = [], |
|
|
| $options = [] ) |
Fetch the specified URL via a GET request.
- Parameters
-
| string | $url | |
| string | $params | |
| array | $options | |
◆ handle_response()
| mod_bigbluebuttonbn\local\proxy\curl::handle_response |
( |
| $response | ) |
|
|
protected |
Handle the response.
- Parameters
-
- Return values
-
| null|SimpleXMLElement | Null on error |
◆ head()
| mod_bigbluebuttonbn\local\proxy\curl::head |
( |
| $url, |
|
|
| $options = [] ) |
Fetch the specified URL via a HEAD request.
- Parameters
-
◆ post()
| mod_bigbluebuttonbn\local\proxy\curl::post |
( |
| $url, |
|
|
| $params = '', |
|
|
| $options = [] ) |
HTTP POST method.
- Parameters
-
| string | $url | |
| array | string | $params | |
| array | $options | |
- Return values
-
| null|SimpleXMLElement | Null on error |
◆ set_content_type()
| mod_bigbluebuttonbn\local\proxy\curl::set_content_type |
( |
string | $type | ) |
|
Set the desired current content type.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- mod/bigbluebuttonbn/classes/local/proxy/curl.php