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):voidcurl.easy_handle#getinfo(info:number)curl.easy_handle#recv(buflen:number)curl.easy_handle#reset():voidcurl.easy_handle#send(buffer:binary)curl.easy_handle#setopt(option:number, arg):voidcurl.easy_handle#unescape(string:string):void15.4Thanks
This module uses libcurl which is distributed in the following site: