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 = 0The HTTP
If-Matchprecondition (RFC 9110 §13.1.1).IfModifiedSince = 2The HTTP
If-Modified-Sinceprecondition (RFC 9110 §13.1.3).IfNoneMatch = 1The HTTP
If-None-Matchprecondition (RFC 9110 §13.1.2).IfUnmodifiedSince = 3The HTTP
If-Unmodified-Sinceprecondition (RFC 9110 §13.1.4).