package ocaml-protoc-plugin

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module MethodOptions.IdempotencyLevelSource

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.

Sourcetype t =
  1. | IDEMPOTENCY_UNKNOWN
  2. | NO_SIDE_EFFECTS
    (*

    implies idempotent

    *)
  3. | IDEMPOTENT
    (*

    idempotent, but may have side effects

    *)
Sourceval name : unit -> string

Fully qualified protobuf name of this enum