IResponseDataSender Interface |
Namespace: CMS.AspNet.Platform.Routing
public interface IResponseDataSender
The IResponseDataSender type exposes the following members.
Name | Description | |
---|---|---|
AcceptRange |
Indicates if resumable downloads should be supported for current file.
| |
AreRangesValid |
Indicates whether ranges are valid.
: ranges are valid or request is not range request
: all other cases
| |
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).
LogExceptions has to be set to .
| |
LogExceptions |
Logs the exceptions caused by the process.
| |
Ranges |
2D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}.
|
Name | Description | |
---|---|---|
WriteBytes |
Streams the byte array to the response.
| |
WriteFile |
Streams the data file to the response.
|