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::ServerConfig Struct Reference

Settings of the browser server. More...

#include <Server.hpp>

Public Attributes

std::uint16_t port = 8080
 TCP port to listen on.
 
std::filesystem::path dataDir
 The directory holding the tables.
 
std::filesystem::path webDir
 The directory holding the page: index.html, style.css, app.js.
 
std::vector< std::string > allowedClients
 IP prefixes such as 192.168.; empty means everyone.
 

Detailed Description

Settings of the browser server.

Definition at line 14 of file Server.hpp.

Member Data Documentation

◆ allowedClients

std::vector<std::string> tinysql::ServerConfig::allowedClients

IP prefixes such as 192.168.; empty means everyone.

Definition at line 18 of file Server.hpp.

◆ dataDir

std::filesystem::path tinysql::ServerConfig::dataDir

The directory holding the tables.

Definition at line 16 of file Server.hpp.

◆ port

std::uint16_t tinysql::ServerConfig::port = 8080

TCP port to listen on.

Definition at line 15 of file Server.hpp.

◆ webDir

std::filesystem::path tinysql::ServerConfig::webDir

The directory holding the page: index.html, style.css, app.js.

Definition at line 17 of file Server.hpp.


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