Method SetHeader
SetHeader(string, object?)
Sets the specific HTTP header into this response stream.
public void SetHeader(string headerName, object? value)
Parameters
Remarks
Headers are sent immediately, along with the HTTP response code, after starting to send content or closing this stream.