2023-12-30 22:42:11 +00:00
|
|
|
//SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
|
|
//SPDX-License-Identifier: GPL-3.0-or-later
|
2023-12-10 23:23:15 +00:00
|
|
|
|
2023-11-21 22:19:08 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <fcgio.h>
|
|
|
|
|
|
|
|
class Stream {
|
|
|
|
protected:
|
|
|
|
Stream(FCGX_Stream* raw);
|
|
|
|
Stream(const Stream& other) = delete;
|
|
|
|
Stream(Stream&& other) = delete;
|
|
|
|
Stream& operator = (const Stream& other) = delete;
|
|
|
|
Stream& operator = (Stream&& other) = delete;
|
|
|
|
virtual ~Stream();
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
fcgi_streambuf raw;
|
|
|
|
};
|