IOwinResponse.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
- IOwinResponse.cs
Writes the given bytes to the response body stream.
public void Write (byte[] data);
abstract member Write : byte[] -> unit
Public Sub Write (data As Byte())
Parameters
- data
- Byte[]
The response data.
Applies to
Write(String)
- Source:
- IOwinResponse.cs
Writes the given text to the response body stream using UTF-8.
public void Write (string text);
abstract member Write : string -> unit
Public Sub Write (text As String)
Parameters
- text
- String
The response data.
Applies to
Write(Byte[], Int32, Int32)
- Source:
- IOwinResponse.cs
Writes the given bytes to the response body stream.
public void Write (byte[] data, int offset, int count);
abstract member Write : byte[] * int * int -> unit
Public 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.