The ResponseSending Event includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Occurs before sending a client response.
Syntax
Event Data
The event handler receives an argument of type ResponseSendingEventArgs containing data related to this event. The following ResponseSendingEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| ClientIpAddress | Gets the IP address of the client which receiving the response. |
| ClientPort | Gets the port number of the client which is receiving the response. |
| Data | Gets the response buffer returned to the client. |
| Description | Gets or sets the textual description for the status code. |
| EndOfResponse | Gets a value indicating the reason the response has ended. |
| ResponseHeaders | Gets the response headers returned to the client. |
| SendData | Gets or sets a value to indicate whether to send the response data to the client. |
| StatusCode | Gets or sets the HTTP status code of the current response. |
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also