grpc_is_canceled_np
- Checks whether the Ninf-G Client has requested cancellation.
#include <grpc_executable.h>
int grpc_is_canceled_np(grpc_error_t *error)
grpc_error_t *error
The grpc_is_canceled_np() function checks whether the Ninf-G Client has requested cancellation or not.
Note: grpc_is_canceled_np() is defined as Ninf-G Executable API, which is only used by the server side program.
If the Ninf-G Client requested the session cancel by grpc_cancel(), this function returns 1. Otherwise, this function returns 0.
None