1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:37:45 +00:00

LibHTTP: Make HTTPRequest::from_raw_request() take a ReadonlyBytes

This allows us to get rid of some ByteBuffer::wrap() usage.
This commit is contained in:
Andreas Kling 2020-12-19 17:38:33 +01:00
parent e517505e35
commit 48d74c5356
5 changed files with 6 additions and 6 deletions

View file

@ -69,7 +69,7 @@ public:
void set_headers(const HashMap<String, String>&);
static Optional<HttpRequest> from_raw_request(const ByteBuffer&);
static Optional<HttpRequest> from_raw_request(ReadonlyBytes);
private:
URL m_url;