Struct Response

Struct Documentation

struct Response

Public Functions

Response(WiFiClient &client, const size_t tcp_limit)
void setHeader(const char *key, const char *value)
template<typename T>
size_t send(const T &data)
template<size_t N>
size_t send(const char (&data)[N])
size_t json(const JsonDocument &doc)
size_t sendFile(const char *filepath, KPDataStoreInterface &store)
void end()
void onNotFound(std::function<void()> callback)
void notFound()

Public Members

WiFiClient &client
const size_t TCP_LIMIT