22 lines
449 B
C++
22 lines
449 B
C++
//SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
//SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#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;
|
|
};
|