mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
LibCore: Move HTTP classes from LibGUI to LibCore.
This commit is contained in:
12
LibCore/CHttpResponse.cpp
Normal file
12
LibCore/CHttpResponse.cpp
Normal file
@@ -0,0 +1,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()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user