Alexey Melnichuk
e2d5cfc954
Update doc.
2017-07-13 13:39:39 +03:00
Alexey Melnichuk
36ea4c532f
Update doc [ci skip]
2017-07-13 10:29:19 +03:00
Alexey Melnichuk
c597521228
Change. Use string value to represent error category.
...
```Lua
err = curl.error(curl.ERROR_EASY, curl.E_OK)
-- err:category() == 'CURL-EASY'
-- tostring(err) == '[CURL-EASY][OK] No error (0)'
```
2016-04-15 16:19:57 +03:00
Alexey Melnichuk
010a54eb5a
Update doc.
2014-12-22 14:18:49 +04:00
Alexey Melnichuk
8676dc07da
Update doc.
2014-12-22 11:46:21 +04:00
Vadim A. Misbakh-Soloviov
2a61d4d4a5
LDoc config for documentation
...
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2014-11-02 05:53:30 +06:00
Alexey Melnichuk
6b9254223f
Update doc [ci skip]
2014-09-17 12:19:01 +05:00
Alexey Melnichuk
3178580a08
Fix. Ignore unknown tables in form:add().
...
Fix. Check type for `headers` field.
Add. Supports `content` field in form:add().
2014-09-17 12:14:47 +05:00
Alexey Melnichuk
7efaba4ff2
Update doc[ci skip]
2014-09-15 13:20:08 +05:00
Alexey Melnichuk
aff3042434
Change. Returns nothing form reader callback means EOF.
...
Change. multi:iperform() remove easy handle when it done.
2014-09-15 13:17:13 +05:00
Alexey Melnichuk
7f8395ce7a
Typo in doc [ci skip]
2014-09-14 08:49:09 +04:00
Alexey Melnichuk
7fbf2a567b
Update documentation. [ci skip]
2014-09-12 16:09:28 +05:00
Alexey Melnichuk
f9db68d41e
Update doc [ci skip]
2014-09-05 16:23:32 +05:00
Alexey Melnichuk
e30104bc44
Fix. Progress function should return `1` to continue.
2014-09-05 16:18:36 +05:00
Alexey Melnichuk
4a0fbd4095
Add. `easy:pause()` method
2014-09-05 11:29:08 +05:00
Alexey Melnichuk
1bdbac4bc9
Add. `easy:unsetopt` method. (See #3 )
2014-09-02 18:34:20 +05:00
Alexey Melnichuk
389e31a8d5
Change. Signature for `form:add_stream()` (See #1 )
2014-09-02 15:50:59 +05:00
Alexey Melnichuk
7aa70f9a59
Change. Write callback can return any true value (except numbers).
...
For example in Lua 5.2 file:write method returns `self`.
``` Lua
function write(str)
return #str - 1 -- this is error (number less than #str)
end
function write(str)
return {} -- this is pass
end
```
2014-09-01 14:53:25 +05:00
Alexey Melnichuk
f7d21361d2
Change. Easy/Share/Multi allow set multiple options at once.
2014-09-01 14:20:07 +05:00
Alexey Melnichuk
144ceeb123
Change. Easy ctor and `setopt` method could use table to set multiple options.
...
```Lua
c = curl.easy{
url = 'http://example.com ',
[curl.OPT_VERBOSE] = true,
}
```
2014-09-01 13:38:34 +05:00
Alexey Melnichuk
ef25a2f444
Add. `category` method to error object.
2014-09-01 11:39:11 +05:00
Alexey Melnichuk
0b398a6727
Change. `info_read` could automatically remove easy handle if it done.
2014-09-01 10:20:25 +05:00
Alexey Melnichuk
23f51ab142
Update doc
2014-08-28 14:09:54 +05:00
Alexey Melnichuk
aab3043323
Fix. Implement `wait` method based on `select` function.
2014-08-28 14:06:24 +05:00
Alexey Melnichuk
ecac8bba1a
Add. `setopt_share` method to easy interface.
2014-08-28 12:50:04 +05:00
Alexey Melnichuk
18c97805c1
Add. `setopt` method to share interface
2014-08-28 12:40:13 +05:00
Alexey Melnichuk
7babe0c872
Update doc
2014-08-28 11:53:35 +05:00
Alexey Melnichuk
237e735495
Add. Init Share interface
2014-08-28 11:26:44 +05:00
Alexey Melnichuk
7590a6d4cc
Update doc
2014-08-28 11:00:46 +05:00
Alexey Melnichuk
dde623513c
Add. `setopt` method to multi interface.
2014-08-27 16:02:02 +05:00
Alexey Melnichuk
d18fb3adca
Implement basic multi iterface.
2014-08-27 13:44:50 +05:00
Alexey Melnichuk
bf72021579
Add. Init multi interface.
2014-08-27 12:05:44 +05:00
Alexey Melnichuk
d2118f2c93
Fix. reset method.
2014-08-27 11:41:22 +05:00
Alexey Melnichuk
bb7a6c3571
Add. `reset` method.
2014-08-27 11:08:13 +05:00
Alexey Melnichuk
430ebb927e
Rename. `httppost` function to `form`
2014-08-27 10:54:51 +05:00
Alexey Melnichuk
9d36abc5d6
Add. `getinfo` method
2014-08-27 10:34:11 +05:00
Alexey Melnichuk
70af182080
Fix. Set callback with context.
...
Update Documentation
2014-08-27 10:20:46 +05:00
Alexey Melnichuk
03d0e811c8
Add. ProgressFunction option
2014-08-26 15:41:31 +05:00
Alexey Melnichuk
ea7a282218
Add. Travis files
2014-08-26 12:40:18 +05:00
Alexey Melnichuk
96fd2add7a
Update doc.
2014-08-25 15:54:43 +05:00
Alexey Melnichuk
b46fc0ad25
Init commit
2014-08-25 13:12:45 +05:00