mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
GHttp: Work on bringing this up.
This commit is contained in:
parent
8f30657390
commit
51b4d3fe5a
9 changed files with 93 additions and 16 deletions
|
@ -1,8 +1,9 @@
|
|||
#include <LibGUI/GHttpResponse.h>
|
||||
|
||||
GHttpResponse::GHttpResponse(int code, ByteBuffer&& payload)
|
||||
GHttpResponse::GHttpResponse(int code, HashMap<String, String>&& headers, ByteBuffer&& payload)
|
||||
: GNetworkResponse(move(payload))
|
||||
, m_code(code)
|
||||
, m_headers(move(headers))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue