Occurs before sending a client response.
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. |