Barracuda Application Server C/C++ Reference
NO
HttpInData Struct Reference

Detailed Description

The web-server "Request Data" container.

#include <HttpServer.h>

Public Member Functions

const char * getBuf ()
 Get pointer to start of PUT/POST data.
 
S32 getBufSize ()
 Get size of internal buffer. More...
 

Member Function Documentation

◆ getBufSize()

S32 HttpInData::getBufSize ( )

Get size of internal buffer.

Use HttpStdHeaders::getContentLength to get the length of the PUT/POST message. You must use HttpAsynchRec if getBufSize() < content-length or if chunk encoding.