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 SourceRequest
Gets the HTTP Request.
Declaration
IHttpProtocolRequest Request { get; }
Property Value
Type | Description |
---|---|
IHttpProtocolRequest |
Response
Gets the HTTP Response.
Declaration
IHttpProtocolResponse Response { get; }
Property Value
Type | Description |
---|---|
IHttpProtocolResponse |
User
Gets the User.
Declaration
IPrincipal User { get; }
Property Value
Type | Description |
---|---|
System.Security.Principal.IPrincipal |