summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/CHttpResponse.cpp
blob: 07fef16ee06e9b70cb0e9924fc6f91d4c00df76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <LibCore/CHttpResponse.h>

CHttpResponse::CHttpResponse(int code, HashMap<String, String>&& headers, ByteBuffer&& payload)
    : CNetworkResponse(move(payload))
    , m_code(code)
    , m_headers(move(headers))
{
}

CHttpResponse::~CHttpResponse()
{
}