# IMQServiceOptions.echoRequest property · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqserviceoptions.echorequest/
Published: 2026-12-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.14.1 — generated reference, not hand-written

Whether a reply carries back the whole request it answers.

**Signature:**

```typescript
echoRequest?: boolean;
```

## Default Value

true

## Remarks

By default a reply echoes the request in full, every argument value included, and an error reply also carries the arguments in [IMQRPCError.args](https://imqueue.org/api/rpc/latest/rpc.imqrpcerror.args/). A caller with a large argument receives it back with every answer. Set `false` and the reply's [IMQRPCResponse.request](https://imqueue.org/api/rpc/latest/rpc.imqrpcresponse.request/) holds only `from` and `method`, and an error reply has no `args`. That is all a client reads from a reply it cannot match to a call, which it re-emits by method name, so clients of any version read these replies as before.

Only what is sent changes. The service's own `beforeCall`, `wrapCall` and `afterCall` hooks, and its log of a failed call, still see the full request and arguments. A call answered in-process gets the same trimmed reply as a queued one.

