CommonHeaders.Accept 属性

定义

获取 Accept 标头设置。

public static Microsoft.AspNetCore.HeaderParsing.HeaderSetup<System.Collections.Generic.IReadOnlyList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue>> Accept { get; }
static member Accept : Microsoft.AspNetCore.HeaderParsing.HeaderSetup<System.Collections.Generic.IReadOnlyList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue>>
Public Shared ReadOnly Property Accept As HeaderSetup(Of IReadOnlyList(Of MediaTypeHeaderValue))

属性值

适用于