| ResponseDataSender Class |
Namespace: CMS.Routing.Web
public class ResponseDataSender
The ResponseDataSender type exposes the following members.
| Name | Description | |
|---|---|---|
| ResponseDataSender |
Creates a new ResponseDataSender instance.
|
| Name | Description | |
|---|---|---|
| AcceptRange |
Indicates if resumable downloads should be supported for current file.
| |
| AcceptRanges |
Indicates whether range requests are enabled (ex. for resumable downloads). If false, the HTTP Handler
ignores the Range HTTP Header and returns the entire contents.
| |
| AreRangesValid |
Indicates whether ranges are valid.
TRUE: ranges are valid or request is not range request
FALSE: all other cases
| |
| Context |
Current HTTP context.
| |
| DataLength |
Size of data.
| |
| IsMultipart |
Indicates whether it is multipart range request.
| |
| IsRangeRequest |
Indicates whether it is range request.
| |
| LogCommunicationExceptions |
Whether to log exception caused by communication problems (e.g. when remote host closes the connection).
Log exceptions has to be set to TRUE.
| |
| LogExceptions |
Logs the exceptions caused by the process.
| |
| Ranges |
2D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}.
| |
| Response |
Current HTTP response.
|
| Name | Description | |
|---|---|---|
| GetRange |
Parses the range header from the request.
| |
| WriteBytes |
Streams the byte array to the response.
| |
| WriteFile |
Streams the data file to the response.
|