1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

LibHTTP: Avoid implicitly copying ByteBuffer

This commit is contained in:
Ben Wiederhake 2021-11-28 23:00:52 +01:00 committed by Brian Gianforcaro
parent d78365f785
commit f59f7674c8
5 changed files with 10 additions and 10 deletions

View file

@ -18,7 +18,7 @@ namespace HTTP {
class Job : public Core::NetworkJob {
public:
explicit Job(const HttpRequest&, OutputStream&);
explicit Job(HttpRequest&&, OutputStream&);
virtual ~Job() override;
virtual void start(NonnullRefPtr<Core::Socket>) override = 0;