# ControlRequest

Canonical: <https://test-proxy-recorder.dev/docs/reference/api/interfaces/controlrequest/>
Docs index: <https://test-proxy-recorder.dev/docs/> · All docs as one file: <https://test-proxy-recorder.dev/llms-full.txt>

---

Defined in: [types.ts:11](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L11)

## Properties

### cleanup?

> `optional` **cleanup?**: `boolean`

Defined in: [types.ts:15](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L15)

***

### id?

> `optional` **id?**: `string`

Defined in: [types.ts:13](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L13)

***

### mode?

> `optional` **mode?**: [`Mode`](/docs/reference/api/type-aliases/mode/)

Defined in: [types.ts:12](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L12)

***

### timeout?

> `optional` **timeout?**: `number`

Defined in: [types.ts:14](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L14)

***

### websocket?

> `optional` **websocket?**: [`WebSocketReplayConfig`](/docs/reference/api/interfaces/websocketreplayconfig/)

Defined in: [types.ts:17](https://github.com/asmyshlyaev177/test-proxy-recorder/blob/d1bacb3b39a3cf6f7f5a5391a8201868e4629861/packages/test-proxy-recorder/src/types.ts#L17)

Per-session WebSocket replay pacing; overrides the proxy-level setting for this session.
