The ResponseDataSender type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
ResponseDataSender |
Creates a new ResponseDataSender instance.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRange |
Parses the range header from the request.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteBytes |
Streams the byte array to the response.
| |
WriteFile |
Streams the data file to the response.
|
Extension Methods
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
BUFFER_SIZE |
Buffer size 64 kB.
| |
CONNECTION_CHECK |
Check connection every X buffering iterations.
| |
CONNECTION_TIMEOUT |
Connection timeout (seconds).
| |
RANGE_END |
Range end constant
| |
RANGE_START |
Range start constant
| |
STREAM_LIMIT_SLEEP |
Wait interval when stream limit was reached before next check.
|
Properties
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.
| |
MaxByteStream |
Maximum streaming speed in bytes per second.
| |
Ranges |
2D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}.
| |
Response |
Current HTTP response.
|
See Also