SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetContentType()

void Spices::Net::HttpResponse::SetContentType ( const std::string & contentType)

Set ContentType.

Parameters
[in]contentTypeContentType.

Definition at line 43 of file HttpResponse.cpp.

44 {
46
47 AddHeader("Content-Type", contentType);
48 }
#define SPICES_PROFILE_ZONE
void AddHeader(const std::string &name, const std::string &value)
Add a header.

References AddHeader().