OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WS::Server::ContentInfo Struct Reference

#include <httpserv.hpp>

Collaboration diagram for openvpn::WS::Server::ContentInfo:
[legend]

Public Attributes

int http_status = 0
 
std::string http_status_str
 
std::string type
 
std::string content_encoding
 
std::string basic_realm
 
content_len_t length = 0
 
bool no_cache = false
 
bool keepalive = false
 
bool lean_headers = false
 
std::vector< std::string > extra_headers
 
WebSocket::Server::PerRequest::Ptr websocket
 

Static Public Attributes

static constexpr content_len_t CHUNKED = -1
 

Detailed Description

Definition at line 157 of file httpserv.hpp.

Member Data Documentation

◆ basic_realm

std::string openvpn::WS::Server::ContentInfo::basic_realm

Definition at line 166 of file httpserv.hpp.

◆ CHUNKED

constexpr content_len_t openvpn::WS::Server::ContentInfo::CHUNKED = -1
staticconstexpr

Definition at line 160 of file httpserv.hpp.

◆ content_encoding

std::string openvpn::WS::Server::ContentInfo::content_encoding

Definition at line 165 of file httpserv.hpp.

◆ extra_headers

std::vector<std::string> openvpn::WS::Server::ContentInfo::extra_headers

Definition at line 171 of file httpserv.hpp.

◆ http_status

int openvpn::WS::Server::ContentInfo::http_status = 0

Definition at line 162 of file httpserv.hpp.

◆ http_status_str

std::string openvpn::WS::Server::ContentInfo::http_status_str

Definition at line 163 of file httpserv.hpp.

◆ keepalive

bool openvpn::WS::Server::ContentInfo::keepalive = false

Definition at line 169 of file httpserv.hpp.

◆ lean_headers

bool openvpn::WS::Server::ContentInfo::lean_headers = false

Definition at line 170 of file httpserv.hpp.

◆ length

content_len_t openvpn::WS::Server::ContentInfo::length = 0

Definition at line 167 of file httpserv.hpp.

◆ no_cache

bool openvpn::WS::Server::ContentInfo::no_cache = false

Definition at line 168 of file httpserv.hpp.

◆ type

std::string openvpn::WS::Server::ContentInfo::type

Definition at line 164 of file httpserv.hpp.

◆ websocket

WebSocket::Server::PerRequest::Ptr openvpn::WS::Server::ContentInfo::websocket

Definition at line 172 of file httpserv.hpp.


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