EventSourceStreamReader Class
.NET Framework 4.5
Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's server.
Inheritance Hierarchy
System.Object
Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents.EventSourceStreamReader
Namespace: Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Class EventSourceStreamReader
'Usage
Dim instance As EventSourceStreamReader
public class EventSourceStreamReader
public ref class EventSourceStreamReader
type EventSourceStreamReader = class end
public class EventSourceStreamReader
The EventSourceStreamReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EventSourceStreamReader | Initializes a new instance of the EventSourceStreamReader class. |
Top
Properties
Name | Description | |
---|---|---|
Closed | Invoked when the reader is closed while in the Processing state. | |
Disabled | Invoked when the reader enters the Stopped state whether or not it was previously in the Processing state. | |
Message | Invoked when there's a message if received in the stream. | |
Opened | Invoked when the connection is open. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the connection and the underlying stream. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Start | Starts the reader. | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents Namespace