C# Класс Liara.ResponseProcessing.LiaraResponse

Наследование: ILiaraResponse
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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