MICO Platform  1.0.0
 All Classes Namespaces Functions Variables Friends
Public Member Functions | Friends | List of all members
mico::http::Body Class Reference

Public Member Functions

 Body (char *ptr, size_t length, const std::string &content_type)
 
 Body (const std::string &data, const std::string &content_type)
 
const char * getContent () const
 
size_t getContentLength () const
 Get the length of the content of this request.
 
const std::string & getContentType () const
 Get the type of the content of this request.
 

Friends

class Request
 
class HTTPClient
 
size_t write_callback (void *ptr, size_t size, size_t nmemm, void *response)
 
size_t read_callback (void *ptr, size_t size, size_t nmemb, void *request)
 

The documentation for this class was generated from the following files: