Dela via


ContentEncodingMetadata(String, Double) Constructor

Definition

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.

Applies to