Class HttpEventSourceCollection
Provides a managed object to manage HttpRequestEventSource connections.
public sealed class HttpEventSourceCollection
- Inheritance
-
HttpEventSourceCollection
- Inherited Members
Properties
- ActiveConnections
Gets an number indicating the amount of active event source connections.
Methods
- 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.
Events
- OnEventSourceRegistered
Represents an event that is fired when an HttpRequestEventSource is registered in this collection.
- OnEventSourceUnregistration
Represents an event that is fired when an HttpRequestEventSource is closed and removed from this collection.