Made TypelessBuffer allocator-aware and split some of its functionality into MemoryView type.
This commit is contained in:
@@ -44,7 +44,7 @@ struct HTTPRequestOptions
|
||||
{
|
||||
std::string method = "GET";
|
||||
std::multimap<std::string, std::string> headers;
|
||||
TypelessBuffer body;
|
||||
BaseTypelessBuffer<std::allocator> body;
|
||||
};
|
||||
|
||||
struct HTTPResponse
|
||||
@@ -53,7 +53,7 @@ struct HTTPResponse
|
||||
unsigned status;
|
||||
std::string statusMessage;
|
||||
std::multimap<std::string, std::string> headers;
|
||||
TypelessBuffer body;
|
||||
BaseTypelessBuffer<std::allocator> body;
|
||||
};
|
||||
|
||||
class HTTPStream
|
||||
|
||||
Reference in New Issue
Block a user