ResourceHandler Properties |
The ResourceHandler type exposes the following members.
Name | Description | |
---|---|---|
AutoDisposeStream |
When true the Stream will be Disposed when
this instance is Disposed. The default value for
this property is false.
| |
Charset |
Gets or sets the Charset
| |
ErrorCode |
If the ErrorCode is set then the response will be ignored and
the errorCode returned.
| |
Headers |
Gets or sets the headers.
| |
MimeType |
Gets or sets the Mime Type.
| |
ResponseLength |
Gets or sets ResponseLength, when you know the size of your
Stream (Response) set this property. This is optional.
If you use a MemoryStream and don't provide a value
here then it will be cast and it's size used
| |
StatusCode |
Gets or sets the http status code.
| |
StatusText |
Gets or sets the status text.
| |
Stream |
Gets or sets the resource stream.
|