Class HttpRequestExtensions
Inherited Members
Namespace: Code.Library.AspNetCore .Extensions
Assembly: Code.Library.AspNetCore.dll
Syntax
public static class HttpRequestExtensions
Methods
| Improve this Doc View SourceHasPreferHeaderWithReturnRepresentation(HttpRequest)
Return true if HTTP request contain Prefer header with value 'return=representation'
Declaration
public static bool HasPreferHeaderWithReturnRepresentation(this HttpRequest request)
Parameters
Type | Name | Description |
---|---|---|
Http |
request |
Returns
Type | Description |
---|---|
bool |