AcceptHeaderParser Class¶
- Namespace
Microsoft.AspNetCore.Mvc.Formatters.Internal
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public class AcceptHeaderParser
-
class
Microsoft.AspNetCore.Mvc.Formatters.Internal.
AcceptHeaderParser
Methods¶
-
ParseAcceptHeader
(System.Collections.Generic.IList<System.String>)¶ Return type: System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality> public static IList<MediaTypeSegmentWithQuality> ParseAcceptHeader(IList<string> acceptHeaders)
-
ParseAcceptHeader
(System.Collections.Generic.IList<System.String>, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality>) public static void ParseAcceptHeader(IList<string> acceptHeaders, IList<MediaTypeSegmentWithQuality> parsedValues)
-