mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 21:55:07 +00:00
21 lines
508 B
C++
21 lines
508 B
C++
/*
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <RequestServer/Protocol.h>
|
|
|
|
namespace RequestServer {
|
|
|
|
class GeminiProtocol final : public Protocol {
|
|
public:
|
|
GeminiProtocol();
|
|
virtual ~GeminiProtocol() override = default;
|
|
|
|
virtual OwnPtr<Request> start_request(ConnectionFromClient&, String const& method, const URL&, HashMap<String, String> const&, ReadonlyBytes body, Core::ProxyData proxy_data = {}) override;
|
|
};
|
|
|
|
}
|