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
MemberDescription
postFieldThis field cannot be left empty if you are using a POST request, otherwise you should simply use a nullptr here.
headerOptionsThis is an array of headers that you wish to use with the request.
headerOptionsSizeThe number of entries in the headerOptions.
dataThe data to be sent as part of the request.
dataSizeThe 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.