~ories/+junk/net-cpp-curl-multi_http_header_support

« back to all changes in this revision

Viewing changes to src/core/net/http/impl/curl/easy.h

  • Committer: Olli Ries
  • Date: 2014-04-24 04:28:50 UTC
  • Revision ID: olli@olli-ries.net-20140424042850-xo6vrd5nkme2st86
implementingĀ CURLOPT_HTTPHEADER

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    http_get = CURLOPT_HTTPGET,
119
119
    http_post = CURLOPT_POST,
120
120
    http_put = CURLOPT_PUT,
 
121
    http_header = CURLOPT_HTTPHEADER,
121
122
    copy_postfields = CURLOPT_COPYPOSTFIELDS,
122
123
    post_field_size = CURLOPT_POSTFIELDSIZE,
123
124
    upload = CURLOPT_UPLOAD,
293
294
    Handle& method(core::net::http::Method method);
294
295
    // Sets the data to be posted by this instance.
295
296
    Handle& post_data(const std::string& data, const std::string&);
 
297
    // Sets custom header data
 
298
    Handle& header(const std::set<std::string>&);
 
299
 
296
300
 
297
301
    // Queries the current status of this instance.
298
302
    core::net::http::Status status();