DataIOPump


Derived from: none

Declared in: DataIOPump.h

Library: libHTTP.so


Overview



Constructor and Destructor


DataIOPump()


	DataIOPump( size_t bufferSize = 4096 )


~DataIOPump()


	virtual ~DataIOPump( void )


Member Functions


StartPump()


	status_t StartPump( BDataIO *input, BDataIO *output, ssize_t contentLength = 0 );


StopPump()


	status_t StopPump( void )


GetTotalBytes()


	int32 GetTotalBytes( void )


SetReadCallback()


	void SetReadCallback( status_t (*ReadFunc)(void *cookie, char *buffer, int32 size), void *cookie )


libHTTP - A high-level HTTP API for the BeOS


Copyright (C) 1999 Joe Kloss