5#ifndef PROTOCOLFASTCGI_H
6#define PROTOCOLFASTCGI_H
11#include <Cutelyst/Context>
27 void setupNewConnection(
Socket *sock)
override;
31 qint64
doWrite(
const char *data, qint64 len)
override final;
33 inline qint64
doWrite(
const QByteArray &data) {
return doWrite(data.constData(), data.size()); }
37 inline void resetData()
override final
39 ProtocolData::resetData();
57 quint16 stream_id = 0;
67 Type type()
const override;
69 inline qint64 readBody(
Socket *socket, QIODevice *io, qint64 bytesAvailable)
const;
70 void parse(
Socket *sock, QIODevice *io)
const override final;
79 quint16 vallen)
const;
TimePointSteady startOfRequest
bool writeHeaders(quint16 status, const Cutelyst::Headers &headers) override final
qint64 doWrite(const char *data, qint64 len) override final
void processingFinished() override final
The Cutelyst namespace holds all public Cutelyst API.