ContentEncodingMetadata(String, Double) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Metadata used to negotiate wich endpoint to select based on the value of the Accept-Encoding header.
public ContentEncodingMetadata (string value, double quality);
new Microsoft.AspNetCore.Routing.ContentEncodingMetadata : string * double -> Microsoft.AspNetCore.Routing.ContentEncodingMetadata
Public Sub New (value As String, quality As Double)
Parameters
- value
- String
The Accept-Encoding
value this metadata represents.
- quality
- Double
The server preference to apply to break ties.