Język

ISessionOutputBufferExtensions.WriteLineAsync Method

Definition

Overloads

Name Description
WriteLineAsync(ISessionOutputBuffer, CharArrayBuffer)

Runs a blocking write of a character buffer and a CRLF terminator on a thread-pool thread.

WriteLineAsync(ISessionOutputBuffer, String)

Runs a blocking write of a string and a CRLF terminator on a thread-pool thread.

WriteLineAsync(ISessionOutputBuffer, CharArrayBuffer)

Runs a blocking write of a character buffer and a CRLF terminator on a thread-pool thread.

public static System.Threading.Tasks.Task WriteLineAsync(this Org.Apache.Http.IO.ISessionOutputBuffer self, Org.Apache.Http.Util.CharArrayBuffer? buffer);
static member WriteLineAsync : Org.Apache.Http.IO.ISessionOutputBuffer * Org.Apache.Http.Util.CharArrayBuffer -> System.Threading.Tasks.Task

Parameters

self
ISessionOutputBuffer

The session output buffer to which to write.

buffer
CharArrayBuffer

The character buffer whose contents are written before a CRLF line terminator.

Returns

A task that completes when the blocking line write operation completes.

Remarks

This method calls WriteLine(CharArrayBuffer). Do not change buffer until the task completes.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

WriteLineAsync(ISessionOutputBuffer, String)

Runs a blocking write of a string and a CRLF terminator on a thread-pool thread.

public static System.Threading.Tasks.Task WriteLineAsync(this Org.Apache.Http.IO.ISessionOutputBuffer self, string? s);
static member WriteLineAsync : Org.Apache.Http.IO.ISessionOutputBuffer * string -> System.Threading.Tasks.Task

Parameters

self
ISessionOutputBuffer

The session output buffer to which to write.

s
String

The string written before a CRLF line terminator.

Returns

A task that completes when the blocking line write operation completes.

Remarks

This method calls WriteLine(String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to