KestrunResponse.WriteStatusOnly method
Writes only the specified HTTP status code, clearing any body or content type.
public void WriteStatusOnly(int statusCode)
| parameter | description |
|---|---|
| statusCode | The HTTP status code to write. |
See Also
- class KestrunResponse
- namespace Kestrun.Models