Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Servers.HttpResponseHeaders

Summary

Encapsulates all supported HTTP response headers. A request handler can set these appropriately to cause the server to emit the required headers. See Remarks for a list of headers which are set by default.

Remarks

By default, ContentType is set to "text/html; charset=utf-8".

Constructors

Creates a new instance of HttpResponseHeaders.

Instance methods

HttpResponseHeadersCreates a shallow clone of this object.
string
  • Overrides: object.ToString()
Returns the HTTP-compliant ASCII representation of all response headers that have been set.

Instance fields

HttpAcceptRanges?These members are not documented.
string
Dictionary<string, string>Provides a means to specify HTTP headers that are not defined in this class.
int?These members are not documented.
string[]
HttpCacheControl[]
HttpConnection
HttpContentDisposition?
HttpContentEncoding
string
long?
string
HttpContentRange?
string
DateTime?
WValue
DateTime?
DateTime?
string
string
string
List<Cookie>
HttpTransferEncoding?
string