# Response.end() method · @imqueue/http-protect

Source: https://imqueue.org/api/http-protect/latest/http-protect.response.end/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/http-protect 3.0.1 — generated reference, not hand-written

Ends the response. Called by every middleware on a rejected request, including after [Response.send()](https://imqueue.org/api/http-protect/latest/http-protect.response.send/).

**Signature:**

```typescript
end(...args: any[]): any;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| args | any\[\] | passed straight through from the middleware |


**Returns:**

any

Ignored by the middlewares.

