grpc_get_last_info_np
- Returns the information on the last session that was run.
grpc_error_t grpc_get_last_info_np(grpc_exec_info_t_np *info,
int *status)
grpc_exec_info_t_np *info
int *status
Not recommend. Use grpc_session_info_get_np() instead. The grpc_get_last_info_np() function returns the information on the last-executed session. If NULL is specified in info, only the status of the session is returned as the return value. See the manual of grpc_get_info_np() for details of info.
Refer to the following for return status.
GRPC_SESSION_ARG_IS_NOT_TRANSMITTED
GRPC_SESSION_EXECUTING
GRPC_SESSION_DOWN
GRPC_SESSION_DONE
GRPC_SESSION_UNKNOWN_STATUS
This function is MT-safe.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_OTHER_ERROR_CODE