A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://fhessel.github.io/esp32_https_server/HTTPResponse_8hpp_source.html below:

ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPResponse.hpp Source File

1 #ifndef SRC_HTTPRESPONSE_HPP_ 2 #define SRC_HTTPRESPONSE_HPP_ 12 #include <openssl/ssl.h> 16 #include "ConnectionContext.hpp" 17 #include "HTTPHeaders.hpp" 18 #include "HTTPHeader.hpp" 30  void

setStatusCode(uint16_t statusCode);

31  void

setStatusText(std::string

const

&statusText);

32

uint16_t getStatusCode();

33

std::string getStatusText();

34  void

setHeader(std::string

const

&name, std::string

const

&value);

35

std::string getHeader(std::string

const

&name);

36  bool

isHeaderWritten();

38  void printStd

(std::string

const

&str);

41  size_t write

(

const

uint8_t *buffer,

size_t

size);

42  size_t write

(uint8_t);

46  bool

isResponseBuffered();

53  void

printInternal(

const

std::string &str,

bool

skipBuffer =

false

);

54  size_t

writeBytesInternal(

const void

* data,

int

length,

bool

skipBuffer =

false

);

55  void

drainBuffer(

bool

onOverflow =

false

);

58

std::string _statusText;

64

byte * _responseCache;

65  size_t

_responseCacheSize;

66  size_t

_responseCachePointer;

void error()

Definition: HTTPResponse.cpp:131

Represents the response stream of an HTTP request.

Definition: HTTPResponse.hpp:25

size_t write(const uint8_t *buffer, size_t size)

Definition: HTTPResponse.cpp:88

void printStd(std::string const &str)

Definition: HTTPResponse.cpp:81

Internal class to handle the state of a connection.

Definition: ConnectionContext.hpp:18

Definition: ConnectionContext.cpp:3


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4