Class Poco::Net::HTTPStreamBuf
Author: Applied Informatics Software Engineering GmbH and Contributors
Date: 2009-11-24

# Poco::Net

# class HTTPStreamBuf

Library: Net
Package: HTTP
Header: Poco/Net/HTTPStream.h

## Description

This is the streambuf class used for reading and writing HTTP message bodies.

## Inheritance

Direct Base Classes: HTTPBasicStreamBuf

All Base Classes: HTTPBasicStreamBuf

## Member Summary

Member Functions: close, readFromDevice, writeToDevice

## Types

### openmode

typedef HTTPBasicStreamBuf::openmode openmode;

## Constructors

### HTTPStreamBuf

HTTPStreamBuf(
HTTPSession & session,
openmode mode
);

## Destructor

### ~HTTPStreamBuf

~HTTPStreamBuf();

## Member Functions

### close

void close();

### readFromDevice

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

### writeToDevice

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