Method Write
Write(ReadOnlySpan<byte>)
Writes an sequence of bytes to the HTTP response stream.
public void Write(ReadOnlySpan<byte> buffer)
Parameters
buffer
ReadOnlySpan<byte>The read only memory that includes the buffer which will be written to the HTTP response.
Write(byte[])
Writes an sequence of bytes to the HTTP response stream.
public void Write(byte[] buffer)
Parameters
buffer
byte[]The byte array that includes the buffer which will be written to the HTTP response.