Reference documentation and code samples for the proto library Client class IdempotencyLevel.
Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.
Protobuf type google.protobuf.MethodOptions.IdempotencyLevel
Namespace
Google \ Protobuf \ Internal \ MethodOptionsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
IDEMPOTENCY_UNKNOWN
Value: 0Generated from protobuf enum IDEMPOTENCY_UNKNOWN = 0;
NO_SIDE_EFFECTS
Value: 1implies idempotent
Generated from protobuf enum NO_SIDE_EFFECTS = 1;
IDEMPOTENT
Value: 2idempotent, but may have side effects
Generated from protobuf enum IDEMPOTENT = 2;