Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IdempotencyLevel.php

IdempotencyLevel::$valueToName

Type: valueToName

File

vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions/IdempotencyLevel.php, line 35

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.

Namespace

Google\Protobuf\Internal\MethodOptions

Code

private static $valueToName = [
    self::IDEMPOTENCY_UNKNOWN => 'IDEMPOTENCY_UNKNOWN',
    self::NO_SIDE_EFFECTS => 'NO_SIDE_EFFECTS',
    self::IDEMPOTENT => 'IDEMPOTENT',
];
RSS feed
Powered by Drupal