Synchronous interceptor.
Since: 5.0.0(12)
Related module: RemoteCommunication
Header file: rcp.h
| 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. |
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.