15 const char* str1 =
nullptr,
int len1 = 0) {
17 client.println(len + len1, HEX);
18 int result = client.write((uint8_t*)str, len);
19 if (str1 !=
nullptr) {
20 result += client.write((uint8_t*)str1, len1);
27 int len = strlen(str);
Writes the data chunked to the actual client.
Definition: HttpChunkWriter.h:12
int writeChunk(Client &client, const char *str, int len, const char *str1=nullptr, int len1=0)
Definition: HttpChunkWriter.h:14
int writeChunk(Client &client, const char *str)
Definition: HttpChunkWriter.h:26
void writeEnd(Client &client)
Definition: HttpChunkWriter.h:31
void log(DlnaLogLevel current_level, const char *fmt...)
Print log message.
Definition: Logger.h:40
Definition: Allocator.h:6
@ DlnaDebug
Definition: Logger.h:16
LoggerClass DlnaLogger
Definition: Logger.cpp:5