Skip to content

Commit 010a54e

Browse files
committed
Update doc.
1 parent 273212f commit 010a54e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/curl.ldoc

+17
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,17 @@ do
135135
-- e:perfom{writefunction = assert(io.open("fname.txt", "w+b"))}
136136
function perfom() end
137137

138+
--- User data.
139+
--
140+
-- Please use this field to associate any data with curl handle.
141+
--
142+
-- @field data
143+
--
144+
-- @usage
145+
-- f = io.open("lua.org.download", "w+")
146+
-- e = curl.easy{url = "http://lua.org", writefunction = f}
147+
-- e.data = f
148+
138149
end
139150

140151
--- Muli curl object
@@ -155,4 +166,10 @@ do
155166
-- for data, type, easy in m:iperform() do ... end
156167
function iperform() end
157168

169+
--- User data.
170+
--
171+
-- Please use this field to associate any data with curl handle.
172+
--
173+
-- @field data
174+
158175
end

0 commit comments

Comments
 (0)