diff --git a/h5p.classes.php b/h5p.classes.php index 12b4471..1730050 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -19,11 +19,13 @@ interface H5PFrameworkInterface { /** * Fetches a file from a remote server using HTTP GET * - * @param $url - * @param $data + * @param $url Where you want to get or send data. + * @param $data Data to post to the URL. + * @param $blocking Set to 'FALSE' to instantly time out (fire and forget). + * @param $stream Where to save the file directly on the filesystem. * @return string The content (response body). NULL if something went wrong */ - public function fetchExternalData($url, $data = NULL); + public function fetchExternalData($url, $data = NULL, $blocking = TRUE, $stream = NULL); /** * Set the tutorial URL for a library. All versions of the library is set