class Poco::Net::HTTPBufferAllocator

A BufferAllocator for HTTP streams.

#include <HTTPBufferAllocator.h>

class HTTPBufferAllocator
{
public:
    // enums

    enum
    {
        BUFFER_SIZE = 4096,
    };

    // methods

    static
    char*
    allocate(std::streamsize size);

    static
    void
    deallocate(
        char* ptr,
        std::streamsize size
        );
};