curl Module
Overview
The curl
module provices measures to access Internet resources using cURL library. To utilize it, import the curl
module using import
function.
Module 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.
curl.easy_handle Class
Method
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
Thanks
This module uses libcurl which is distributed in the following site: