Curl Scol plugin
|
Functions | |
int | _CRcurlRequest (mmachine m) |
_CRcurlRequest : This function create a CURL object | |
int | _KILLcurlRequest (mmachine m) |
_KILLcurlRequest : Destroy CURL object | |
int | _CALLcurlRequest (mmachine m) |
_CALLcurlRequest : This function execute the CURL object request asynchronously Prototype: fun [ObjCURL fun [ObjCURL u0 S I] u1 u0] ObjCURL | |
int | _CALLcurlRequestSync (mmachine m) |
_CALLcurlRequestSync : This function execute the CURL object request and block until the request is finished Prototype: fun [ObjCURL fun [ObjCURL u0 S I] u1 u0] ObjCURL | |
int | _SETcurlRequestHeader (mmachine m) |
_SETcurlRequestHeader : This function change the CURL request header content Prototype: fun [ObjCURL [S r1]] ObjCURL | |
int | _SETcurlOption (mmachine m) |
_SETcurlOption : This function set CURL options Prototype: fun [ObjCURL I I] ObjCURL | |
int | _SETcurlOptionList (mmachine m) |
_SETcurlOptionList : This function set CURL options with a list param Prototype: fun [ObjCURL I [S r1]] ObjCURL | |
int | _SETcurlOptionS (mmachine m) |
_SETcurlOptionS : This function set CURL options with a string Prototype: fun [ObjCURL I S] ObjCURL | |
int | _SETcurlOptionFile (mmachine m) |
_SETcurlOptionFile : This function set CURL options with a file Prototype: fun [ObjCURL I P] ObjCURL | |
int | _ADDcurlFormField (mmachine m) |
_ADDcurlFormField : This function add a form field for Post operation on a CURL object Prototype: fun [ObjCURL S S] ObjCURL | |
int | _ADDcurlFileFormField (mmachine m) |
_ADDcurlFileFormField : This function add a file form field for Post operation on a CURL object Prototype: fun [ObjCURL S P] ObjCURL | |
Scol functions definition
int _ADDcurlFileFormField | ( | mmachine | m | ) |
_ADDcurlFileFormField : This function add a file form field for Post operation on a CURL object Prototype: fun [ObjCURL S P] ObjCURL
ObjCURL | : the CURL object |
S | : the field name |
P | : the file path |
Definition at line 543 of file scolplugin.cpp.
int _ADDcurlFormField | ( | mmachine | m | ) |
_ADDcurlFormField : This function add a form field for Post operation on a CURL object Prototype: fun [ObjCURL S S] ObjCURL
ObjCURL | : the CURL object |
S | : the field name |
S | : the field value |
Definition at line 502 of file scolplugin.cpp.
int _CALLcurlRequest | ( | mmachine | m | ) |
_CALLcurlRequest : This function execute the CURL object request asynchronously Prototype: fun [ObjCURL fun [ObjCURL u0 S I] u1 u0] ObjCURL
ObjCURL | : the CURL object |
fun | [ObjCURL u0 S I] u1 : callback on receive data |
S | : the received data |
I | : the received error, send -1 when proceed, 0 when done, error code otherwise |
Definition at line 193 of file scolplugin.cpp.
int _CALLcurlRequestSync | ( | mmachine | m | ) |
_CALLcurlRequestSync : This function execute the CURL object request and block until the request is finished Prototype: fun [ObjCURL fun [ObjCURL u0 S I] u1 u0] ObjCURL
ObjCURL | : the CURL object |
fun | [ObjCURL u0 S I] u1 : callback on receive data |
S | : the received data |
I | : the received error, send -1 when proceed, 0 when done, error code otherwise |
Definition at line 234 of file scolplugin.cpp.
int _CRcurlRequest | ( | mmachine | m | ) |
_CRcurlRequest : This function create a CURL object
Prototype: fun [Chn S] ObjCURL
Chn | : channel |
S | : URL |
Definition at line 90 of file scolplugin.cpp.
int _KILLcurlRequest | ( | mmachine | m | ) |
_KILLcurlRequest : Destroy CURL object
fun [ObjCURL] I
ObjCURL | : CURL Object to destroy |
Definition at line 162 of file scolplugin.cpp.
int _SETcurlOption | ( | mmachine | m | ) |
_SETcurlOption : This function set CURL options Prototype: fun [ObjCURL I I] ObjCURL
ObjCURL | : the CURL object |
I | : the CURL option listed here http://curl.haxx.se/libcurl/c/curl_easy_setopt.html (not all supported) |
I | : the option value |
Definition at line 320 of file scolplugin.cpp.
int _SETcurlOptionFile | ( | mmachine | m | ) |
_SETcurlOptionFile : This function set CURL options with a file Prototype: fun [ObjCURL I P] ObjCURL
ObjCURL | : the CURL object |
I | : the CURL option listed here http://curl.haxx.se/libcurl/c/curl_easy_setopt.html (not all supported) |
P | : the file |
Definition at line 461 of file scolplugin.cpp.
int _SETcurlOptionList | ( | mmachine | m | ) |
_SETcurlOptionList : This function set CURL options with a list param Prototype: fun [ObjCURL I [S r1]] ObjCURL
ObjCURL | : the CURL object |
I | : the CURL option listed here http://curl.haxx.se/libcurl/c/curl_easy_setopt.html (not all supported) |
[S | r1] : the options list values |
Definition at line 361 of file scolplugin.cpp.
int _SETcurlOptionS | ( | mmachine | m | ) |
_SETcurlOptionS : This function set CURL options with a string Prototype: fun [ObjCURL I S] ObjCURL
ObjCURL | : the CURL object |
I | : the CURL option listed here http://curl.haxx.se/libcurl/c/curl_easy_setopt.html (not all supported) |
S | : the options list values |
Definition at line 410 of file scolplugin.cpp.
int _SETcurlRequestHeader | ( | mmachine | m | ) |
_SETcurlRequestHeader : This function change the CURL request header content Prototype: fun [ObjCURL [S r1]] ObjCURL
ObjCURL | : the CURL object |
[S | r1] : the list of header values without the CRLF, also the first http line used for request method must not be set here |
Definition at line 273 of file scolplugin.cpp.