# Description class · @imqueue/rpc

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

The self-description a service serves to its clients, and the input to client generation.

**Signature:**

```typescript
export declare class Description 
```

## Remarks

Declared as a class for historical reasons but never instantiated: a service returns a plain object literal, and a client receives its JSON round-trip. So do not use `new Description()` or `instanceof Description`.

A service memoizes its description after the first request for it.

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [service](https://imqueue.org/api/rpc/latest/rpc.description.service/) |  | { name: string; methods: [MethodsCollectionDescription](https://imqueue.org/api/rpc/latest/rpc.methodscollectiondescription/); } | The service itself: its name, and every exposed method with the inheritance chain already flattened. |
| [types](https://imqueue.org/api/rpc/latest/rpc.description.types/) |  | [TypesDescription](https://imqueue.org/api/rpc/latest/rpc.typesdescription/) | Every complex type registered in the service's process. |

