EventSourceStreamReader Class

.NET Framework 4.5

Provides event source implementation for .NET.

System::Object
  Microsoft.AspNet.SignalR.Client.Transports::AsyncStreamReader
    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 ref class EventSourceStreamReader : public AsyncStreamReader

The EventSourceStreamReader type exposes the following members.

  NameDescription
Public methodEventSourceStreamReader Initializes a new instance of the EventSourceStreamReader class.
Top

  NameDescription
Protected propertyBufferLockGets the object that is used to lock the buffer. (Inherited from AsyncStreamReader.)
Public propertyClosedGets or sets the method to invoke when the reader is closed while in the Processing state. (Inherited from AsyncStreamReader.)
Public propertyDataGets or sets the method to invoke when there is a message to be received in the stream. (Inherited from AsyncStreamReader.)
Public propertyMessage
Public propertyOpenedGets or sets the method to invoke when the stream is open. (Inherited from AsyncStreamReader.)
Top

  NameDescription
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 methodStart Starts the reader. (Inherited from AsyncStreamReader.)
Public methodToString (Inherited from Object.)
Top

This is not to the specifications but it is enough to support SignalR's server.

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: