# ContextType

**Kind:** Type

**Source:** [`packages/common/interfaces/features/arguments-host.interface.ts`](https://github.com/nestjs/nest/blob/master/packages/common/interfaces/features/arguments-host.interface.ts#L1)

**Part of:** [Common](subsystem-packages-common)

## Definition

```ts
'http' | 'ws' | 'rpc'
```

## Used by

9 references from 9 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (9)

- `ParamProperties` — `packages/core/router/router-execution-context.ts`:50
- `GuardsConsumer` — `packages/core/guards/guards-consumer.ts`:7
- `ParamProperties` — `packages/core/helpers/context-utils.ts`:15
- `ExecutionContextHost` — `packages/core/helpers/execution-context-host.ts`:10
- `ParamsFactory` — `packages/core/helpers/external-context-creator.ts`:28
- `ExternalErrorProxy` — `packages/core/helpers/external-proxy.ts`:5
- `InterceptorsConsumer` — `packages/core/interceptors/interceptors-consumer.ts`:13
- `RpcHandlerMetadata` — `packages/microservices/context/rpc-context-creator.ts`:35

…and 1 more.
