Table of Contents

Class IdempotentAttribute

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Abstractions.dll

This action will use a client-provided Idempotency key to protect against duplicate requests. Header example -> Idempotency-Key: e1sCcjdjd39sAa229Hsd QuerySring example -> ?@IdempotencyKey=e1sCcjdjd39sAa229Hsd

[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class IdempotentAttribute : Attribute
Inheritance
object
Attribute
IdempotentAttribute

Constructors

IdempotentAttribute()

public IdempotentAttribute()

Fields

AbsoluteExpiration

The absolute time in MINUTES to keep the cached response. Default value is 24 hours

public int AbsoluteExpiration

Field Value

int

SlidingExpiration

The sliding time in MINUTES to keep the cached response. Default value is 1 hour

public int SlidingExpiration

Field Value

int

Methods

IsDefaultAttribute()

When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.

public override bool IsDefaultAttribute()

Returns

bool

true if this instance is the default attribute for the class; otherwise, false.