C# 클래스 Liara.ResponseProcessing.LiaraResponse

상속: ILiaraResponse
파일 보기 프로젝트 열기: prasannavl/Liara 1 사용 예제들

공개 메소드들

메소드 설명
LiaraResponse ( ILiaraContext context ) : System.Security.Claims
Synchronize ( ) : void
Write ( byte data ) : void

Writes the given bytes to the response body stream.

Write ( byte data, int offset, int count ) : void

Writes the given bytes to the response body stream.

Write ( string text ) : void

Writes the given text to the response body stream using UTF-8.

WriteAsync ( byte data ) : Task

Asynchronously writes the given bytes to the response body stream.

WriteAsync ( byte data, CancellationToken token ) : Task

Asynchronously writes the given bytes to the response body stream.

WriteAsync ( byte data, int offset, int count, CancellationToken token ) : Task

Asynchronously writes the given bytes to the response body stream.

WriteAsync ( string text ) : Task

Asynchronously writes the given text to the response body stream using UTF-8.

WriteAsync ( string text, CancellationToken token ) : Task

Asynchronously writes the given text to the response body stream using UTF-8.

메소드 상세

LiaraResponse() 공개 메소드

public LiaraResponse ( ILiaraContext context ) : System.Security.Claims
context ILiaraContext
리턴 System.Security.Claims

Synchronize() 공개 메소드

public Synchronize ( ) : void
리턴 void

Write() 공개 메소드

Writes the given bytes to the response body stream.
public Write ( byte data ) : void
data byte The response data.
리턴 void

Write() 공개 메소드

Writes the given bytes to the response body stream.
public Write ( byte data, int offset, int count ) : void
data byte The response data.
offset int /// The zero-based byte offset in the parameter at which to begin copying /// bytes. ///
count int The number of bytes to write.
리턴 void

Write() 공개 메소드

Writes the given text to the response body stream using UTF-8.
public Write ( string text ) : void
text string The response data.
리턴 void

WriteAsync() 공개 메소드

Asynchronously writes the given bytes to the response body stream.
public WriteAsync ( byte data ) : Task
data byte The response data.
리턴 Task

WriteAsync() 공개 메소드

Asynchronously writes the given bytes to the response body stream.
public WriteAsync ( byte data, CancellationToken token ) : Task
data byte The response data.
token System.Threading.CancellationToken A token used to indicate cancellation.
리턴 Task

WriteAsync() 공개 메소드

Asynchronously writes the given bytes to the response body stream.
public WriteAsync ( byte data, int offset, int count, CancellationToken token ) : Task
data byte The response data.
offset int /// The zero-based byte offset in the parameter at which to begin copying /// bytes. ///
count int The number of bytes to write.
token System.Threading.CancellationToken A token used to indicate cancellation.
리턴 Task

WriteAsync() 공개 메소드

Asynchronously writes the given text to the response body stream using UTF-8.
public WriteAsync ( string text ) : Task
text string The response data.
리턴 Task

WriteAsync() 공개 메소드

Asynchronously writes the given text to the response body stream using UTF-8.
public WriteAsync ( string text, CancellationToken token ) : Task
text string The response data.
token System.Threading.CancellationToken A token used to indicate cancellation.
리턴 Task