Click or drag to resize

IHttpProtocolResponse Interface

Interface which represents a HTTP response.

Namespace:  VDS.RDF.Web
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public interface IHttpProtocolResponse

The IHttpProtocolResponse type exposes the following members.

Properties
  NameDescription
Public propertyContentEncoding
Gets/Sets the Content Encoding for the response.
Public propertyContentType
Gets/Sets the Content Type for the response.
Public propertyHeaders
Gets the Headers for the response.
Public propertyOutputStream
Gets the output stream.
Public propertyStatusCode
Gets/Sets the HTTP Status Code for the response.
Top
Methods
  NameDescription
Public methodAddHeader
Adds a Header to the resposne.
Public methodClear
Clears the Response.
Public methodWrite
Writes a String to the response body.
Top
Remarks
Abstraction which allows us to reuse code for response processing across different HTTP server environments.
See Also