mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 05:55:06 +00:00

This was done with CLion's automatic rename feature and with: find . -name ClientConnection.h | rename 's/ClientConnection\.h/ConnectionFromClient.h/' find . -name ClientConnection.cpp | rename 's/ClientConnection\.cpp/ConnectionFromClient.cpp/'
21 lines
465 B
C++
21 lines
465 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;
|
|
|
|
virtual OwnPtr<Request> start_request(ConnectionFromClient&, const String& method, const URL&, const HashMap<String, String>&, ReadonlyBytes body) override;
|
|
};
|
|
|
|
}
|