Up |
_CALLcurlRequestSync
Execute the CURL object request and block the application until the request is finished.
Prototype :
fun [ObjCURL fun [ObjCURL u0 S I] u1 u0] ObjCURL
- ObjCURL : a Curl object
- fun [ObjCURL u0 S I] u1 : callback on receive data. The supplemental arguments are :
- S : the received data
- I : the received error, send -1 when proceed, 0 when done, error code otherwise
Return : ObjCURL the same Curl object if success, NIL otherwise
See also :
Example :