|
Arduino DLNA Server
|
ConnectionManager SCPD descriptor for MediaServer. More...
#include <DLNAMediaServerDescr.h>

Public Member Functions | |
| size_t | printDescr (Print &out) override |
| Emit ConnectionManager SCPD XML. | |
ConnectionManager SCPD descriptor for MediaServer.
DLNAMediaServerConnectionMgrDescr generates the Service Control Protocol Description (SCPD) XML for the ConnectionManager service and writes it to any Arduino-style Print instance. The primary method is printDescr(Print& out) which emits XML and returns the number of bytes written. That return value can be used to compute HTTP Content-Length before streaming the body.
The class is stateless and intended to be constructed on-demand by request handlers.
|
inlineoverridevirtual |
Emit ConnectionManager SCPD XML.
| out | Print target to write XML to |
Use the returned size to set Content-Length when streaming the response without creating a temporary buffer.
Implements tiny_dlna::DLNADescr.