Interface IHttpProtocolRequest
Interface which represents a HTTP request.
Namespace: VDS.RDF.Web
Assembly: dotNetRDF.dll
Syntax
public interface IHttpProtocolRequest
Remarks
Abstraction which allows us to reuse code for request processing across different HTTP server environments.
Properties
| Improve this Doc View SourceAcceptTypes
Gets the MIME Types specified in the Accept header.
Declaration
string[] AcceptTypes { get; }
Property Value
Type | Description |
---|---|
System.String[] |
ContentLength
Gets the Content Length.
Declaration
long ContentLength { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
ContentType
Gets the Content Type.
Declaration
string ContentType { get; }
Property Value
Type | Description |
---|---|
System.String |
Headers
Gets the Headers.
Declaration
NameValueCollection Headers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection |
HttpMethod
Gets the HTTP Method.
Declaration
string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
InputStream
Gets the Input Stream.
Declaration
Stream InputStream { get; }
Property Value
Type | Description |
---|---|
System.IO.Stream |
QueryString
Gets the Querystring parameters.
Declaration
NameValueCollection QueryString { get; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection |
Url
Gets the URL.
Declaration
Uri Url { get; }
Property Value
Type | Description |
---|---|
System.Uri |
UserHostAddress
Gets the Users Host Address.
Declaration
string UserHostAddress { get; }
Property Value
Type | Description |
---|---|
System.String |