目录

Rcp_Request

Overview

Network request.

Since: 5.0.0(12)

Related module: RemoteCommunication

Header file: rcp.h

Summary

[h2]Member Variables

Name Description
char id [RCP_MAX_REQUEST_ID_LEN] Unique ID of a request, which is generated by the system.
char * url Request URL.
const char * method Request method. The default value is GET.
Rcp_Headers * headers Request header.
Rcp_RequestContent * content Request body.
Rcp_Configuration * configuration Request configuration. For details, please refer to Rcp_Configuration.
Rcp_TransferRange * transferRange HTTP transmission range. This configuration will be converted into the HTTP Range header.
Rcp_RequestCookies * cookies Request cookies. This configuration will be converted into the HTTP Cookie header.
void * requestPrivate Extended fields.

Struct Member Variable Description

[h2]configuration

Rcp_Configuration* Rcp_Request::configuration

Description

Request configuration. For details, please refer to Rcp_Configuration.

[h2]content

Rcp_RequestContent* Rcp_Request::content

Description

Request body.

[h2]cookies

Rcp_RequestCookies* Rcp_Request::cookies

Description

Request cookies. This configuration will be converted into the HTTP Cookie header.

[h2]headers

Rcp_Headers* Rcp_Request::headers

Description

Request header.

[h2]id

char Rcp_Request::id[RCP_MAX_REQUEST_ID_LEN]

Description

Unique ID of a request, which is generated by the system.

[h2]method

const char* Rcp_Request::method

Description

Request method. The default value is GET.

[h2]requestPrivate

void* Rcp_Request::requestPrivate

Description

Extended fields.

[h2]transferRange

Rcp_TransferRange* Rcp_Request::transferRange

Description

HTTP transmission range. This configuration will be converted into the HTTP Range header.

[h2]url

char* Rcp_Request::url

Description

Request URL.