15curl Module
15.1Overview
The curl
module provices measures to access Internet resources using cURL library. To utilize it, import the curl
module using import
function.
15.2Module Function
The curl
module provides following functions:
curl.version() {block?}
Returns a string of the libcurl version.
curl.easy_init() {block?}
Initializes cURL and returns a easy_handle object.
15.3curl.easy_handle Class
15.3.1Method
The csv.easy\_handle
class provides following methods:
curl.easy_handle#escape(string:string):void
curl.easy_handle#getinfo(info:number)
curl.easy_handle#recv(buflen:number)
curl.easy_handle#reset():void
curl.easy_handle#send(buffer:binary)
curl.easy_handle#setopt(option:number, arg):void
curl.easy_handle#unescape(string:string):void
15.4Thanks
This module uses libcurl which is distributed in the following site: