[This is preliminary documentation and is subject to change.]

Gets the Accept header entry.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static IList<string> GetAccept(

this IRequest request

)

VB

Public Shared Function GetAccept( _

request As IRequest _

) As IList(Of String)

C++

public:

static IList<String^>^ GetAccept(

IRequest^ request

)

Parameters

Return Value

Type: System.Collections.Generic.IList<string>System.Collections.Generic.IList(Of String)System.Collections.Generic::IList<String^>
The Accept header value(s), or a wildcard if not in the Headers collection.

See Also

RequestExtensionsRequestExtensionsRequestExtensions Class
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace