Table of Contents

Enum PreconditionKind

Namespace
Trellis
Assembly
Trellis.Http.Abstractions.dll

Identifies which conditional precondition was the subject of a HttpError.PreconditionFailed or HttpError.PreconditionRequired fault.

public enum PreconditionKind

Fields

IfMatch = 0

The HTTP If-Match precondition (RFC 9110 §13.1.1).

IfModifiedSince = 2

The HTTP If-Modified-Since precondition (RFC 9110 §13.1.3).

IfNoneMatch = 1

The HTTP If-None-Match precondition (RFC 9110 §13.1.2).

IfUnmodifiedSince = 3

The HTTP If-Unmodified-Since precondition (RFC 9110 §13.1.4).