Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionPostFieldSize

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionPostFieldSize"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The post fields data size in bytes. 1234

Result

Returns "OK" on success.

Description

Sets the length of post field data.
If you want to post data to the server without letting libcurl do a strlen() to measure the data size, this option must be used. When this option is used you can post fully binary data, which otherwise is likely to fail. If this size is set to -1, the library will use strlen() to get the size.

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Nachhilfe in Nickenich