|
GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>#include "src/core/lib/transport/status_metadata.h"#include "src/core/lib/slice/slice_string_helpers.h"#include "src/core/lib/transport/static_metadata.h"Macros | |
| #define | STATUS_OFFSET 1 |
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... | |
| #define STATUS_OFFSET 1 |
| 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 | ) |