myTinySQL v0.2.0-2-g5000098
A tiny SQL interpreter over fixed-width text files
Loading...
Searching...
No Matches
Public Attributes | List of all members
tinysql::anonymous_namespace{Server.cpp}::Request Struct Reference

One HTTP request, split into the parts the server uses. More...

Public Attributes

std::string method
 E.g. GET or POST; empty if the request could not be read.
 
std::string path
 E.g. /api/sql; any ?query part is removed.
 
std::string body
 The body of a POST (the SQL for /api/sql); empty for a GET.
 

Detailed Description

One HTTP request, split into the parts the server uses.

Definition at line 85 of file Server.cpp.

Member Data Documentation

◆ body

std::string tinysql::anonymous_namespace{Server.cpp}::Request::body

The body of a POST (the SQL for /api/sql); empty for a GET.

Definition at line 88 of file Server.cpp.

◆ method

std::string tinysql::anonymous_namespace{Server.cpp}::Request::method

E.g. GET or POST; empty if the request could not be read.

Definition at line 86 of file Server.cpp.

◆ path

std::string tinysql::anonymous_namespace{Server.cpp}::Request::path

E.g. /api/sql; any ?query part is removed.

Definition at line 87 of file Server.cpp.


The documentation for this struct was generated from the following file: