Cutelyst  1.8.0
Public Attributes | List of all members
Cutelyst::EngineRequest Struct Reference

Public Attributes

QIODevice * body
 
Headers headers
 
bool isSecure
 
QString method
 
QString path
 
QString protocol
 
QByteArray query
 
QHostAddress remoteAddress
 
quint16 remotePort
 
QString remoteUser
 
void * requestPtr
 
QString serverAddress
 
quint64 startOfRequest
 

Detailed Description

Definition at line 31 of file engine.h.

Member Data Documentation

QIODevice* Cutelyst::EngineRequest::body

The QIODevice containing the body (if any) of the request

Definition at line 52 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

Headers Cutelyst::EngineRequest::headers

The request headers

Definition at line 48 of file engine.h.

bool Cutelyst::EngineRequest::isSecure

If the connection is secure HTTPS

Definition at line 58 of file engine.h.

QString Cutelyst::EngineRequest::method

The method used (GET, POST...)

Definition at line 33 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

QString Cutelyst::EngineRequest::path

The path requested by the user agent '/index'

Definition at line 35 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

QString Cutelyst::EngineRequest::protocol

The protocol requested by the user agent 'HTTP1/1'

Definition at line 39 of file engine.h.

QByteArray Cutelyst::EngineRequest::query

The query string requested by the user agent 'foo=bar&baz'

Definition at line 37 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

QHostAddress Cutelyst::EngineRequest::remoteAddress

The remote/client address

Definition at line 44 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

quint16 Cutelyst::EngineRequest::remotePort

The remote/client port

Definition at line 56 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

QString Cutelyst::EngineRequest::remoteUser

The remote user name set by a front web server

Definition at line 46 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

void* Cutelyst::EngineRequest::requestPtr

The internal pointer of the request, to be used for mapping this request to the real request

Definition at line 54 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

QString Cutelyst::EngineRequest::serverAddress

The server address which the server is listening to, usually the 'Host' header but if that's not present should be filled with the server address

Definition at line 42 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().

quint64 Cutelyst::EngineRequest::startOfRequest

The timestamp of the start of headers

Definition at line 50 of file engine.h.

Referenced by Cutelyst::Engine::camelCaseByteArrayHeader().