GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include <grpc/status.h>
#include "src/core/lib/transport/metadata.h"
#include "src/core/lib/transport/static_metadata.h"
Go to the source code of this file.
Functions | |
grpc_status_code | grpc_get_status_code_from_metadata (grpc_mdelem md) |
grpc_mdelem | grpc_get_reffed_status_elem_slowpath (int status_code) |
Get a grpc_mdelem of grpc-status: X where X is the numeric value of status_code. More... | |
grpc_mdelem | grpc_get_reffed_status_elem (int status_code) |
|
inline |
grpc_mdelem grpc_get_reffed_status_elem_slowpath | ( | int | status_code | ) |
Get a grpc_mdelem of grpc-status: X where X is the numeric value of status_code.
The returned elem is owned by the caller.
grpc_status_code grpc_get_status_code_from_metadata | ( | grpc_mdelem | md | ) |