目录

Rcp_SyncInterceptor

Overview

Synchronous interceptor.

Since: 5.0.0(12)

Related module: RemoteCommunication

Header file: rcp.h

Summary

[h2]Member Variables

Name Description
Rcp_Response *(* intercept )(Rcp_Request *request, const Rcp_SyncRequestHandler *next, uint32_t *errCode) Pointer to the synchronous interceptor function. To use an interceptor, you need to implement this function.

Struct Member Variable Description

[h2]intercept

Rcp_Response*(* Rcp_SyncInterceptor::intercept) (Rcp_Request *request, const Rcp_SyncRequestHandler *next, uint32_t *errCode)

Description

Pointer to the synchronous interceptor function. To use an interceptor, you need to implement this function.

Since: 5.0.0(12)

Parameters:

Name Description
request Pointer to Rcp_Request.
next Pointer to the next synchronous handler Rcp_SyncRequestHandler.
errCode Return value of the interceptor.

Returns:

Rcp_Response*: pointer to the response.