AlphaXProtocolRequirement enum
A protocol that a request requires rather than merely prefers.
A transport must fail when the final negotiated protocol is different or remains unknown. A capability entry alone never satisfies a requirement.
- Inheritance
- Available extensions
Values
- http10 → const AlphaXProtocolRequirement
-
Require HTTP/1.0.
- http11 → const AlphaXProtocolRequirement
-
Require HTTP/1.1.
- http2 → const AlphaXProtocolRequirement
-
Require HTTP/2.
- http3 → const AlphaXProtocolRequirement
-
Require HTTP/3.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - preference → AlphaXProtocolPreference
-
Available on AlphaXProtocolRequirement, provided by the AlphaXProtocolRequirementValues extension
Preference value corresponding to this requirement.no setter - protocol → AlphaXProtocol
-
Available on AlphaXProtocolRequirement, provided by the AlphaXProtocolRequirementValues extension
Protocol value represented by this requirement.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isSatisfiedBy(
AlphaXProtocol actual) → bool -
Available on AlphaXProtocolRequirement, provided by the AlphaXProtocolRequirementValues extension
Whetheractualproves this requirement was met. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AlphaXProtocolRequirement> - A constant List of the values in this enum, in order of their declaration.