Classes | Public Attributes | List of all members
grpc_arg Struct Reference

#include <grpc_types.h>

Classes

union  grpc_arg_value
 

Public Attributes

char * key
 
grpc_arg_type type
 
union grpc_arg::grpc_arg_value value
 

Detailed Description

A single argument... each argument has a key and a value

A note on naming keys: Keys are namespaced into groups, usually grouped by library, and are keys for module XYZ are named XYZ.key1, XYZ.key2, etc. Module names must be restricted to the regex [A-Za-z][_A-Za-z0-9]{,15}. Key names must be restricted to the regex [A-Za-z][_A-Za-z0-9]{,47}.

GRPC core library keys are prefixed by grpc.

Library authors are strongly encouraged to #define symbolic constants for their keys so that it's possible to change them in the future.

Definition at line 103 of file grpc_types.h.

Member Data Documentation

◆ key

char* grpc_arg::key

Definition at line 105 of file grpc_types.h.

◆ type

grpc_arg_type grpc_arg::type

Definition at line 104 of file grpc_types.h.

◆ value

union grpc_arg::grpc_arg_value grpc_arg::value

The documentation for this struct was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46