MCPcopy Create free account
hub / github.com/JosephP91/curlcpp / curl_message

Class curl_message

include/curl_multi.h:175–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 * multi interface.
174 */
175 class curl_message {
176 public:
177 /**
178 * The attributes will be initialized with constructors parameters. With
179 * this constructor we provide a fast way to build this kind of object.
180 */
181 explicit curl_message(const CURLMsg *, const curl_easy *);
182 /**
183 * Inline getter method used to return
184 * the message for a single handler.
185 */
186 CURLMSG get_message() const;
187 /**
188 * Inline getter method used to return
189 * the code for a single handler.
190 */
191 CURLcode get_code() const;
192 /**
193 * Inline getter method used to return
194 * other data.
195 */
196 const void *get_other() const;
197 /**
198 * Returns the handler to the easy interface.
199 */
200 const curl_easy *get_handler() const;
201 private:
202 const CURLMSG message;
203 const void *whatever;
204 const CURLcode code;
205 const curl_easy *handler;
206 };
207
208 /**
209 * Simple default constructor. It is used to give a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected