Syntax
VM_RESULT vm_https_send_request(
    VMUINT16 request_id, 
    VM_HTTPS_METHOD method, 
    VM_HTTPS_OPTION option, 
    VM_HTTPS_DATA_TYPE reply_type, 
    VMUINT32 reply_segment_length, 
    VMSTR request_url, 
    VMUINT32 request_url_length, 
    VMSTR request_header, 
    VMUINT32 request_header_length, 
    VMSTR post_segment, 
    VMUINT32 post_segment_length
);
ContentsIndex
PreviousUpNext
vm_https_send_request
Syntax
VM_RESULT vm_https_send_request(
    VMUINT16 request_id, 
    VM_HTTPS_METHOD method, 
    VM_HTTPS_OPTION option, 
    VM_HTTPS_DATA_TYPE reply_type, 
    VMUINT32 reply_segment_length, 
    VMSTR request_url, 
    VMUINT32 request_url_length, 
    VMSTR request_header, 
    VMUINT32 request_header_length, 
    VMSTR post_segment, 
    VMUINT32 post_segment_length
);
Description

Sends an HTTP/WSP request.

Parameters
Parameters 
Description 
VMUINT16 request_id 
[IN] Request ID. [IN] The request ID. 
VM_HTTPS_METHOD method 
[IN] HTTP Method Constant (VM_HTTPS_METHOD). [IN] The HTTP Method Constant (VM_HTTPS_METHOD). 
VM_HTTPS_OPTION option 
[IN] HTTP request options. [IN] The HTTP request options. 
VM_HTTPS_DATA_TYPE reply_type 
[IN] Reply type (wps_data_type_enum) The file path used to store replied content when reply_type is specified as HTTPS_DATA_TYPE_FILE, HTTPS_DATA_TYPE_FILE_NO_PROG_IND or HTTPS_DATA_TYPE_FILE_RESUME. Or the maximum buffer size that reading side suggests when reply_type is specified as VM_HTTPS_DATA_TYPE_BUFFER. [IN] The reply type (wps_data_type_enum) The file path used to store replied content when reply_type is specified as HTTPS_DATA_TYPE_FILE, HTTPS_DATA_TYPE_FILE_NO_PROG_IND or HTTPS_DATA_TYPE_FILE_RESUME. Or the maximum buffer size that reading side suggests when reply_type is specified as VM_HTTPS_DATA_TYPE_BUFFER. 
VMUINT32 reply_segment_length 
[IN] The maximum length of the reply_segment. 
VMSTR request_url 
[IN] The request URL. 
VMUINT32 request_url_length 
[IN] The request URL length. 
VMSTR request_header 
[IN] The request header. The post segment buffer length when post_type is specified as VM_HTTPS_DATA_TYPE_BUFFER. It is mandatory is method is POST/PUT and post_type is VM_HTTPS_DATA_TYPE_BUFFER. 
VMUINT32 request_header_length 
[IN] The request header length. 
VMSTR post_segment 
[IN] The post segment. 
VMUINT32 post_segment_length 
[IN] The post segment length. 
Returns
File

vmhttps.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.