C# Class Liara.ResponseProcessing.LiaraResponse

Inheritance: ILiaraResponse
ファイルを表示 Open project: prasannavl/Liara Class Usage Examples

Public Methods

Method Description
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.

Method Details

LiaraResponse() public method

public LiaraResponse ( ILiaraContext context ) : System.Security.Claims
context ILiaraContext
return System.Security.Claims

Synchronize() public method

public Synchronize ( ) : void
return void

Write() public method

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

Write() public method

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.
return void

Write() public method

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

WriteAsync() public method

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

WriteAsync() public method

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.
return Task

WriteAsync() public method

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.
return Task

WriteAsync() public method

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

WriteAsync() public method

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.
return Task