Struct ServerSentEventsClientDisconnectedArgs
Provides data for the ClientDisconnected event.
Inherited Members
      System.ValueType.Equals(System.Object)
    
    
      System.ValueType.GetHashCode()
    
    
      System.ValueType.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lib.AspNetCore.ServerSentEvents
Assembly: Lib.AspNetCore.ServerSentEvents.dll
Syntax
public struct ServerSentEventsClientDisconnectedArgs
  Constructors
ServerSentEventsClientDisconnectedArgs(HttpRequest, IServerSentEventsClient)
Initializes new instance of data.
Declaration
public ServerSentEventsClientDisconnectedArgs(HttpRequest request, IServerSentEventsClient client)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.AspNetCore.Http.HttpRequest | request | The original request which has been made in order to establish the connection.  | 
      
| IServerSentEventsClient | client | The client who has disconnected.  | 
      
Properties
Client
Gets the client who has disconnected.
Declaration
public readonly IServerSentEventsClient Client { get; }
  Property Value
| Type | Description | 
|---|---|
| IServerSentEventsClient | 
Request
Gets the original request which has been made in order to establish the connection.
Declaration
public readonly HttpRequest Request { get; }
  Property Value
| Type | Description | 
|---|---|
| Microsoft.AspNetCore.Http.HttpRequest |