There was an error while loading. Please reload this page.
Sets the status code for the response.
Example:
New-GetRoute -Path "/helloworld" -ScriptBlock { $response.SetStatusCode(404); $response.Send("Not Found"); }