Show / Hide Table of Contents

Class HttpContextExtensions

Utility extension methods for the IHttpContext class.
Inheritance
System.Object
HttpContextExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.dll
Syntax
public static class HttpContextExtensions

Methods

| Improve this Doc View Source

GetAcceptTypes(IHttpContext)

Retrieves the Accept Types to be used to determine the content format to be used in responding to requests.
Declaration
public static string[] GetAcceptTypes(this IHttpContext context)
Parameters
Type Name Description
IHttpContext context HTTP Context.
Returns
Type Description
System.String[]
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • GetAcceptTypes(IHttpContext)
Back to top Generated by DocFX