![]() ![]() Unzipping archives is slow and is not multithreaded, and should only be done during the menu state. Unzips the contents of a specified zip_file and places all contents in the directory extract_dir. Progress_callback: total_bytes The total amount of bytes which must be downloaded to complete the HTTP request. Progress_callback: bytes The current amount of bytes which have been retrieved. Progress_callback: id The ID of the HTTP request which is reporting its progress. Progress_callback(id, bytes, total_bytes) A function to run when the HTTP request reports back its progress. Returns An ID for the current HTTP request.Ĭallback(data, id) A function to run when data is retrieved from the URL.Ĭallback: data The data retrieved from the server, returned as a string. Url The URL to attempt to retrieve data from. If successful, returns any retrieved data to the callback. Performs a HTTP/S request to the specified URL. Log( tostring(ayer:player_unit():key()) )ĭohttpreq( url, callback(data, id), ) Str The string to be logged log( "Hello World!" ) Prints a string to the developer console, and saves it in the log file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |