Show / Hide Table of Contents

Interface IHttpContext

Interface which represents the context of some request to a HTTP server.
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.dll
Syntax
public interface IHttpContext
Remarks
Abstraction which allows us to reuse code for request and response processing across different HTTP server environments.

Properties

| Improve this Doc View Source

Request

Gets the HTTP Request.
Declaration
IHttpProtocolRequest Request { get; }
Property Value
Type Description
IHttpProtocolRequest
| Improve this Doc View Source

Response

Gets the HTTP Response.
Declaration
IHttpProtocolResponse Response { get; }
Property Value
Type Description
IHttpProtocolResponse
| Improve this Doc View Source

User

Gets the User.
Declaration
IPrincipal User { get; }
Property Value
Type Description
System.Security.Principal.IPrincipal

Extension Methods

Extensions.AsEnumerable<T>(T)
HttpContextExtensions.GetAcceptTypes(IHttpContext)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Request
    • Response
    • User
  • Extension Methods
Back to top Generated by DocFX