STTNet
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Attributes | List of all members
stt::network::TcpFDInf Struct Reference

Structure to save TCP client information. More...

#include <sttnet_English.h>

Public Attributes

int fd
 Socket file descriptor. More...
 
std::string ip
 Client IP. More...
 
std::string port
 Client port. More...
 
int status
 The current fd status, used to save the processor logic. More...
 
std::string_view data
 Save the data received from the client. More...
 
struct HttpRequestInformation HttpInf
 saves http/https protocol information More...
 
SSL * ssl
 If encrypted, store the encryption handle. More...
 
char * buffer
 Receives the space pointer. More...
 
unsigned long p_buffer_now
 Receives a spatial position pointer. More...
 
HttpServerFDHandler k
 Classes that deal with HTTP. More...
 
std::deque
< std::chrono::steady_clock::time_point > 
requestSpeedQueue
 Queue for requesting speed limit, implementing sliding window algorithm. More...
 

Detailed Description

Structure to save TCP client information.

Member Data Documentation

char* stt::network::TcpFDInf::buffer

Receives the space pointer.

std::string_view stt::network::TcpFDInf::data

Save the data received from the client.

int stt::network::TcpFDInf::fd

Socket file descriptor.

struct HttpRequestInformation stt::network::TcpFDInf::HttpInf

saves http/https protocol information

std::string stt::network::TcpFDInf::ip

Client IP.

HttpServerFDHandler stt::network::TcpFDInf::k

Classes that deal with HTTP.

unsigned long stt::network::TcpFDInf::p_buffer_now

Receives a spatial position pointer.

std::string stt::network::TcpFDInf::port

Client port.

std::deque<std::chrono::steady_clock::time_point> stt::network::TcpFDInf::requestSpeedQueue

Queue for requesting speed limit, implementing sliding window algorithm.

SSL* stt::network::TcpFDInf::ssl

If encrypted, store the encryption handle.

int stt::network::TcpFDInf::status

The current fd status, used to save the processor logic.


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