Poco::Net

class MultipartStreamBuf

File Information

Library: Net
Package: Messages
Header: Poco/Net/MultipartReader.h

Description

This is the streambuf class used for reading from a multipart message stream.

Inheritance

Direct Base Classes: Poco::BufferedStreamBuf

All Base Classes: Poco::BufferedStreamBuf

Member Summary

Member Functions: lastPart, readFromDevice

Constructors

MultipartStreamBuf

MultipartStreamBuf(
    std::istream & istr,
    const std::string & boundary
);

Destructor

~MultipartStreamBuf

~MultipartStreamBuf();

Member Functions

lastPart

bool lastPart() const;

readFromDevice protected

int readFromDevice(
    char * buffer,
    std::streamsize length
);