Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
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. More...
 
S32 getBufSize ()
 Get size of internal buffer. More...
 

Member Function Documentation

◆ getBuf()

const char * HttpInData::getBuf ( )

Get pointer to start of PUT/POST data.

◆ 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.