|
tinyhttp
|
Extension which supports streaming to multiple clients. It makes sure that same content is streamed to multiple clients when you call the writes or printlns methods in your loop(); Only a subset of the stream output functions is avaiblable! More...
#include <ExtensionStreamBasic.h>
Public Member Functions | |
| ExtensionStreamBasic (const char *url, HttpStreamedOutput &out, TinyMethodID method=T_GET) | |
| Default Constructor. | |
| void | close () |
| HttpStreamedOutput * | getOutput () |
| bool | isOpen () |
| virtual void | open (HttpServer *server) |
| int | print (const char *str) |
| int | println (const char *str) |
| void | setReplyHeader (StrView &header) |
| Defines a standard reply header. | |
| int | write (uint8_t *content, int len) |
Protected Member Functions | |
| void | doLoop () override |
Protected Attributes | |
| HttpRequestHandlerLine | hl {1} |
| TinyMethodID | method |
| HttpStreamedOutput * | out = nullptr |
| const char * | url = nullptr |
Friends | |
| class | ExtensionStream |
Extension which supports streaming to multiple clients. It makes sure that same content is streamed to multiple clients when you call the writes or printlns methods in your loop(); Only a subset of the stream output functions is avaiblable!
|
inlineoverrideprotectedvirtual |
Reimplemented from tinyhttp::Extension.
|
inlinevirtual |
Reimplemented from tinyhttp::Extension.