Class MethodKinds
Whether a method reads or writes (openspec api-gateway, Method Kinds): the descriptor
decides when it marks the method NO_SIDE_EFFECTS, the standard health service's calls
read (its protocol defines them as checks without effect, but its proto carries no option),
else the name rule. The gateway
is the only place this rule is kept; clients take the kind from ListMethods.
public static class MethodKinds
- Inheritance
-
MethodKinds
- Inherited Members
Fields
HealthService
The standard gRPC health service every backend serves next to its own.
public const string HealthService = "grpc.health.v1.Health"
Field Value
Methods
Of(MethodDescriptor)
public static MethodKind Of(MethodDescriptor method)
Parameters
methodMethodDescriptor
Returns
- MethodKind