Sisk

Class

HttpEventSourceCollection

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Provides a managed object to manage HttpRequestEventSource connections.

C#
public sealed class HttpEventSourceCollection : IReadOnlyCollection<HttpRequestEventSource>, IEnumerable<HttpRequestEventSource>, IEnumerable

Inheritance #

object ← HttpEventSourceCollection

Implements #

IReadOnlyCollection<HttpRequestEventSource>, IEnumerable<HttpRequestEventSource>, IEnumerable

Inherited Members #

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties #

NameDescription
ActiveConnectionsGets an number indicating the amount of active event source connections.
Count

Methods #

NameDescription
All()Gets all actives HttpRequestEventSource instances.
DropAll()Closes and disposes all registered and active HttpRequestEventSource in this collections.
Find(Func<string, bool>)Gets all actives HttpRequestEventSource instances that matches their identifier predicate.
GetByIdentifier(string)Gets the event source connection for the specified identifier.
GetEnumerator()
OnEventSourceRegisteredRepresents an event that is fired when an HttpRequestEventSource is registered in this collection.
OnEventSourceUnregistrationRepresents an event that is fired when an HttpRequestEventSource is closed and removed from this collection.

Type to search the documentation and the API reference.