Show / Hide Table of Contents

Interface IServerSentEventsNoReconnectClientsIdsStore

Contract for store which keeps identifiers of IServerSentEventsClient which shouldn't be allowed to reconnect.

Namespace: Lib.AspNetCore.ServerSentEvents
Assembly: Lib.AspNetCore.ServerSentEvents.dll
Syntax
public interface IServerSentEventsNoReconnectClientsIdsStore

Methods

AddClientIdAsync(Guid)

Adds client identifier.

Declaration
Task AddClientIdAsync(Guid clientId)
Parameters
Type Name Description
System.Guid clientId

The client identifier.

Returns
Type Description
System.Threading.Tasks.Task

ContainsClientIdAsync(Guid)

Determines whether the store contains client identifier.

Declaration
Task<bool> ContainsClientIdAsync(Guid clientId)
Parameters
Type Name Description
System.Guid clientId

The client identifier.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

True if the store contains client identifier; otherwise, false.

RemoveClientIdAsync(Guid)

Removes client identifier.

Declaration
Task RemoveClientIdAsync(Guid clientId)
Parameters
Type Name Description
System.Guid clientId

The client identifier.

Returns
Type Description
System.Threading.Tasks.Task
Back to top Copyright © 2017 - 2023 Tomasz Pęczek