Top Documents Download Gallery Repository
Are you looking for a Software Engineer? Check Here

15curl Module

The curl module provices measures to access Internet resources using cURL library. To utilize it, import the curl module using import function.

15.1Module Function

curl.version
curl.version() {block?}
Returns a string of the libcurl version.

curl.easy_init
curl.easy_init() {block?}
Initializes cURL and returns a easy_handle object.

15.2curl.easy_handle Class

curl.easy_handle#escape
curl.easy_handle#escape(string:string):void

curl.easy_handle#getinfo
curl.easy_handle#getinfo(info:number)

curl.easy_handle#perform
curl.easy_handle#perform(stream?:stream:w):void

curl.easy_handle#recv
curl.easy_handle#recv(buflen:number)

curl.easy_handle#reset
curl.easy_handle#reset():void

curl.easy_handle#send
curl.easy_handle#send(buffer:binary)

curl.easy_handle#setopt
curl.easy_handle#setopt(option:number, arg):void

curl.easy_handle#unescape
curl.easy_handle#unescape(string:string):void

15.3Thanks

This module uses libcurl which is distributed in the following site:

http://curl.haxx.se/libcurl/


Copyright (C) 2011-2017 ypsitau