Arduino DLNA Server
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tiny_dlna::HttpStreamCopy Class Reference

Processing of a single stream to a single client. In the loop we can simply provide individual small chunks until we are done. More...

#include <HttpStreamCopy.h>

Collaboration diagram for tiny_dlna::HttpStreamCopy:
Collaboration graph
[legend]

Public Member Functions

 HttpStreamCopy (Stream &input, WiFiClient &client, int outputSize=215)
 
 ~HttpStreamCopy ()
 
bool isOpen ()
 
void doLoop ()
 

Protected Member Functions

void close ()
 

Protected Attributes

HttpChunkWriter writer
 
Stream * input_ptr
 
Client * client_ptr
 
int output_size
 
bool is_open
 

Detailed Description

Processing of a single stream to a single client. In the loop we can simply provide individual small chunks until we are done.

We work on a copy of the WiFiClient

Constructor & Destructor Documentation

◆ HttpStreamCopy()

tiny_dlna::HttpStreamCopy::HttpStreamCopy ( Stream &  input,
WiFiClient &  client,
int  outputSize = 215 
)
inline

◆ ~HttpStreamCopy()

tiny_dlna::HttpStreamCopy::~HttpStreamCopy ( )
inline

Member Function Documentation

◆ close()

void tiny_dlna::HttpStreamCopy::close ( )
inlineprotected

◆ doLoop()

void tiny_dlna::HttpStreamCopy::doLoop ( )
inline

◆ isOpen()

bool tiny_dlna::HttpStreamCopy::isOpen ( )
inline

Member Data Documentation

◆ client_ptr

Client* tiny_dlna::HttpStreamCopy::client_ptr
protected

◆ input_ptr

Stream* tiny_dlna::HttpStreamCopy::input_ptr
protected

◆ is_open

bool tiny_dlna::HttpStreamCopy::is_open
protected

◆ output_size

int tiny_dlna::HttpStreamCopy::output_size
protected

◆ writer

HttpChunkWriter tiny_dlna::HttpStreamCopy::writer
protected

The documentation for this class was generated from the following file: