C# 클래스 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.
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

공개 메소드들

메소드 설명
EventSourceStreamReader ( IConnection connection, Stream stream ) : System

Initializes a new instance of the EventSourceStreamReader class.

비공개 메소드들

메소드 설명
OnMessage ( SseEvent sseEvent ) : void
ProcessBuffer ( ArraySegment readBuffer ) : void

메소드 상세

EventSourceStreamReader() 공개 메소드

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.
리턴 System