mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibCore: Move HTTP classes from LibGUI to LibCore.
This commit is contained in:
parent
cfd6e6cc36
commit
ab1c84cf53
Notes:
sideshowbarker
2024-07-19 14:46:04 +09:00
Author: https://github.com/awesomekling
Commit: ab1c84cf53
15 changed files with 92 additions and 93 deletions
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()
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue