目录

Rcp_Interceptor

Overview

Asynchronous interceptor.

Since: 5.0.0(12)

Related module: RemoteCommunication

Header file: rcp.h

Summary

[h2]Member Variables

Name Description
uint32_t(* intercept )(Rcp_Request *request, const Rcp_RequestHandler *next, const Rcp_ResponseCallbackObject *responseCallback) Pointer to the asynchronous interceptor function. To use an interceptor, you need to implement this function.

Struct Member Variable Description

[h2]intercept

uint32_t(* Rcp_Interceptor::intercept) (Rcp_Request *request, const Rcp_RequestHandler *next, const Rcp_ResponseCallbackObject *responseCallback)

Description

Pointer to the asynchronous 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 asynchronous processor Rcp_RequestHandler.
responseCallback Pointer to Rcp_ResponseCallbackObject.

Returns:

Return value of the interceptor, of the uint32_t type.