Method: Curl::PostField#set_content_proc
- Defined in:
- ext/curb_postfield.c
#set_content_proc {|field| ... } ⇒ Object
Set a content proc for this field. This proc will be called during the perform to supply the content for this field, overriding any setting of content
or local_file
.
408 409 410 |
# File 'ext/curb_postfield.c', line 408 static VALUE ruby_curl_postfield_content_proc_set(int argc, VALUE *argv, VALUE self) { CURB_HANDLER_PROC_SETTER(ruby_curl_postfield, content_proc); } |