Update README.md

[ci skip]
This commit is contained in:
Alexey Melnichuk 2014-09-17 15:28:52 +05:00
parent 092f1a5b00
commit ee84322ad5

View File

@ -41,6 +41,13 @@ Original Lua-cURLv2 binding has several problems:
luarocks install lua-curl --server=https://rocks.moonscript.org/dev
```
## List of incompatibility with original [Lua-cURLv2](https://github.com/Lua-cURL/Lua-cURLv2)
* objects are tables
* multi:perform() also returns ("done",code), ("error",error) and ("response",code) records
* writer callback does not recv string len (just string itself)
* on Lua > 5.2 errors are objects but not strings
## Usage
```Lua