C# Class Microsoft.AspNet.SignalR.Client.Transports.ServerSentEvents.EventSourceStreamReader

Event source implementation for .NET. This isn't to the spec but it's enough to support SignalR's server.
Afficher le fichier Open project: SignalR/SignalR Class Usage Examples

Méthodes publiques

Méthode Description
EventSourceStreamReader ( IConnection connection, Stream stream ) : System

Initializes a new instance of the EventSourceStreamReader class.

Private Methods

Méthode Description
OnMessage ( SseEvent sseEvent ) : void
ProcessBuffer ( ArraySegment readBuffer ) : void

Method Details

EventSourceStreamReader() public méthode

Initializes a new instance of the EventSourceStreamReader class.
public EventSourceStreamReader ( IConnection connection, Stream stream ) : System
connection IConnection The connection associated with this event source
stream Stream The stream to read event source payloads from.
Résultat System