ResponseDataSender MembersKentico 8.1 API Reference
The ResponseDataSender type exposes the following members.
Constructors

  NameDescription
Public methodResponseDataSender
Creates a new ResponseDataSender instance.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetRange
Parses the range header from the request.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodWriteBytes
Streams the byte array to the response.
Public methodWriteFile
Streams the data file to the response.
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberBUFFER_SIZE
Buffer size 64 kB.
Public fieldStatic memberCONNECTION_CHECK
Check connection every X buffering iterations.
Public fieldStatic memberCONNECTION_TIMEOUT
Connection timeout (seconds).
Public fieldStatic memberRANGE_END
Range end constant
Public fieldStatic memberRANGE_START
Range start constant
Public fieldStatic memberSTREAM_LIMIT_SLEEP
Wait interval when stream limit was reached before next check.
Back to Top
Properties

  NameDescription
Public propertyAcceptRange
Indicates if resumable downloads should be supported for current file.
Public propertyStatic memberAcceptRanges
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.
Public propertyAreRangesValid
Indicates whether ranges are valid. TRUE: ranges are valid or request is not range request FALSE: all other cases
Protected propertyContext
Current HTTP context.
Public propertyDataLength
Size of data.
Public propertyIsMultipart
Indicates whether it is multipart range request.
Public propertyIsRangeRequest
Indicates whether it is range request.
Public propertyLogCommunicationExceptions
Whether to log exception caused by communication problems (e.g. when remote host closes the connection). Log exceptions has to be set to TRUE.
Public propertyLogExceptions
Logs the exceptions caused by the process.
Public propertyMaxByteStream
Maximum streaming speed in bytes per second.
Public propertyRanges
2D Array in format {{START_RANGE,END_RANGE},{START_RANGE, END_RANGE}}.
Protected propertyResponse
Current HTTP response.
Back to Top
See Also