# HttpResponse.Refuse

Kind: Method  
Namespace: `Sisk.Core.Http`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.HttpResponse.Refuse.html

## Refuse() {#Sisk_Core_Http_HttpResponse_Refuse}

Creates an [HttpResponse](https://docs.sisk-framework.org/api/Sisk.Core.Http.HttpResponse.md) object which closes the connection with the client immediately (ECONNRESET).

```csharp
public static HttpResponse Refuse()
```

### Returns

[HttpResponse](https://docs.sisk-framework.org/api/Sisk.Core.Http.HttpResponse.md)
