ResponseSending Event

Summary

Occurs before sending a client response.

Syntax
C#
VB
C++
public event EventHandler<ResponseSendingEventArgs> ResponseSending 
  
Public Event ResponseSending As EventHandler(Of ResponseSendingEventArgs) 
public: 
event EventHandler<ResponseSendingEventArgs^>^ ResponseSending 

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.

PropertyDescription
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

For an example, refer to JpipServer.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip.Server Assembly