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.

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)

public class EventSourceStreamReader

The EventSourceStreamReader type exposes the following members.

  NameDescription
Public methodEventSourceStreamReaderInitializes a new instance of the EventSourceStreamReader class.
Top

  NameDescription
Public propertyClosedInvoked when the reader is closed while in the Processing state.
Public propertyDisabled Invoked when the reader enters the Stopped state whether or not it was previously in the Processing state.
Public propertyMessageInvoked when there's a message if received in the stream.
Public propertyOpenedInvoked when the connection is open.
Top

  NameDescription
Public methodCloseCloses the connection and the underlying stream.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStartStarts the reader.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: