Struct ServerSentEventsClientDisconnectedArgs
Provides data for the ClientDisconnected event.
Inherited Members
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 |
|---|---|---|
| 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 |
|---|---|
| HttpRequest |