FsNetworkHttpRequestParam
The FsNetworkHttpRequestParam structure is used when doing a request to customize the request.
Syntax
struct FsNetworkHttpRequestParam {
char* postField;
char** headerOptions;
unsigned int headerOptionsSize;
unsigned char* data;
unsigned int dataSize;
};
Members
| Member | Description |
|---|---|
postField | This field cannot be left empty if you are using a POST request, otherwise you should simply use a nullptr here. |
headerOptions | This is an array of headers that you wish to use with the request. |
headerOptionsSize | The number of entries in the headerOptions. |
data | The data to be sent as part of the request. |
dataSize | The size of the data being sent, in bytes. |
Remarks
This struct is the request ID returned when you call any one of the appropriate request functions.