OwinResponse.Write Method

Definition

Overloads

Write(Byte[])

Writes the given bytes to the response body stream.

Write(String)

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

Write(Byte[], Int32, Int32)

Writes the given bytes to the response body stream.

Write(Byte[])

Source:
OwinResponse.cs

Writes the given bytes to the response body stream.

public virtual void Write (byte[] data);
abstract member Write : byte[] -> unit
override this.Write : byte[] -> unit
Public Overridable Sub Write (data As Byte())

Parameters

data
Byte[]

The response data.

Implements

Applies to

Write(String)

Source:
OwinResponse.cs

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

public virtual void Write (string text);
abstract member Write : string -> unit
override this.Write : string -> unit
Public Overridable Sub Write (text As String)

Parameters

text
String

The response data.

Implements

Applies to

Write(Byte[], Int32, Int32)

Source:
OwinResponse.cs

Writes the given bytes to the response body stream.

public virtual void Write (byte[] data, int offset, int count);
abstract member Write : byte[] * int * int -> unit
override this.Write : byte[] * int * int -> unit
Public Overridable Sub Write (data As Byte(), offset As Integer, count As Integer)

Parameters

data
Byte[]

The response data.

offset
Int32

The zero-based byte offset in the data parameter at which to begin copying bytes.

count
Int32

The number of bytes to write.

Implements

Applies to