C# 클래스 EventSourceSample.EventStreamWriterResponse

상속: Nancy.Response
파일 보기 프로젝트 열기: serbrech/EventSourceSample 1 사용 예제들

공개 메소드들

메소드 설명
CloseStream ( ) : void
EventStreamWriterResponse ( IResponseFormatter formatter, string id, dynamic body ) : System
Write ( string id, dynamic body ) : void

비공개 메소드들

메소드 설명
WriteDataJson ( dynamic body, MemoryStream ms ) : void
WriteMessageId ( string id, MemoryStream ms ) : void

메소드 상세

CloseStream() 공개 메소드

public CloseStream ( ) : void
리턴 void

EventStreamWriterResponse() 공개 메소드

public EventStreamWriterResponse ( IResponseFormatter formatter, string id, dynamic body ) : System
formatter IResponseFormatter
id string
body dynamic
리턴 System

Write() 공개 메소드

public Write ( string id, dynamic body ) : void
id string
body dynamic
리턴 void