typedef void (* vm_https_send_response_callback)(VMUINT16 request_id, VM_HTTPS_RESULT result, VMUINT16 status, VMINT32 cause, VM_HTTPS_PROTOCOL protocol, VMUINT32 content_length, VMBOOL more, VMSTR content_type, VMUINT8 content_type_length, VMSTR new_url, VMUINT32 new_url_length, VMSTR reply_header, VMUINT32 reply_header_length, VMSTR reply_segment, VMUINT32 reply_segment_length);
typedef void (* vm_https_send_response_callback)(VMUINT16 request_id, VM_HTTPS_RESULT result, VMUINT16 status, VMINT32 cause, VM_HTTPS_PROTOCOL protocol, VMUINT32 content_length, VMBOOL more, VMSTR content_type, VMUINT8 content_type_length, VMSTR new_url, VMUINT32 new_url_length, VMSTR reply_header, VMUINT32 reply_header_length, VMSTR reply_segment, VMUINT32 reply_segment_length);
Response to the HTTPS request. New_url is used to hold the new URL that was used to retrieve this reply if the original request was This function responds to the HTTPS request. New_url is used to hold the new URL that was used to retrieve this reply if the original request was redirected. If the reply_type is VM_HTTPS_DATA_TYPE_BUFFER, then the more flag is used to indicate if the application needs to use vm_https_read_content to retrieve the remaining content.
|
Parameters |
Description |
|
request_id |
[IN] The request ID. |
[IN] The HTTPS result.
status: [IN] The HTTPS response code.
cause: [IN] The Error cause.
protocol: [IN] The network protocol used to retrieve content.
content_length: [IN] The length of the replied content.
more: [IN] This indicates if there is more data that needs to be retrieved.
content_type: [IN] The type of the replied content. Maximum is 256 characters including NULL.
content_type_length: [IN] The length of content_type.
new_url: [IN] The new redirected URL.
new_url_length: [IN] The length of new redirected URL.
reply_header: [IN] The replied header.
reply_header_length: [IN] The length of replied header.
reply_segment: [IN]: The reply segment buffer.
reply_segment_length: [IN] The reply segment buffer length when reply_type is specified as VM_HTTPS_DATA_TYPE_BUFFER. This is mandatory when reply_type is VM_HTTPS_DATA_TYPE_BUFFER.
void
vmhttps.h
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.