mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:07:35 +00:00
Everywhere: Remove the AK::
qualifier from Stream usages
This commit is contained in:
parent
874c7bba28
commit
43f98ac6e1
73 changed files with 275 additions and 278 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
Function<Vector<TLS::Certificate>()> on_certificate_requested;
|
||||
|
||||
private:
|
||||
explicit HttpsJob(HttpRequest&& request, AK::Stream& output_stream)
|
||||
explicit HttpsJob(HttpRequest&& request, Stream& output_stream)
|
||||
: Job(move(request), output_stream)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ static ErrorOr<ByteBuffer> handle_content_encoding(ByteBuffer const& buf, Deprec
|
|||
|
||||
// FIXME: Actually do the decompression of the data using streams, instead of all at once when everything has been
|
||||
// received. This will require that some of the decompression algorithms are implemented in a streaming way.
|
||||
// Gzip and Deflate are implemented using AK::Stream, while Brotli uses the newer Core::Stream. The Gzip and
|
||||
// Gzip and Deflate are implemented using Stream, while Brotli uses the newer Core::Stream. The Gzip and
|
||||
// Deflate implementations will likely need to be changed to LibCore::Stream for this to work easily.
|
||||
|
||||
if (content_encoding == "gzip") {
|
||||
|
@ -86,7 +86,7 @@ static ErrorOr<ByteBuffer> handle_content_encoding(ByteBuffer const& buf, Deprec
|
|||
return buf;
|
||||
}
|
||||
|
||||
Job::Job(HttpRequest&& request, AK::Stream& output_stream)
|
||||
Job::Job(HttpRequest&& request, Stream& output_stream)
|
||||
: Core::NetworkJob(output_stream)
|
||||
, m_request(move(request))
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@ class Job : public Core::NetworkJob {
|
|||
C_OBJECT(Job);
|
||||
|
||||
public:
|
||||
explicit Job(HttpRequest&&, AK::Stream&);
|
||||
explicit Job(HttpRequest&&, Stream&);
|
||||
virtual ~Job() override = default;
|
||||
|
||||
virtual void start(Core::Socket&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue