---
title: "Implicit Request Contexts"
url: https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts
language: js
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Implicit Request Contexts

Programming language: JavaScript. Other languages: [C++](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/cpp.md), [C#](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/csharp.md), [Java](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/java.md), [MATLAB](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/matlab.md), [Python](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/python.md), [Ruby](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/ruby.md), [Swift](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/implicit-request-contexts/swift.md).

An implicit request context belongs to a communicator: Ice sends it with each invocation made through the proxies of this communicator, unless the invocation has an [explicit context](https://docs.zeroc.com/ice/3.8/runtime/invocation/request-contexts/explicit-request-contexts/js.md).

## Configuring the Implicit Context

The [Ice.ImplicitContext](https://docs.zeroc.com/ice/3.8/property-reference/ice-properties/js.md#ice.implicitcontext) property specifies whether the communicator has an implicit context:

- `None` *(the default)*: the communicator has no implicit context.
- `Shared`: the communicator has one implicit context.

## Using the Implicit Context

`getImplicitContext` on the communicator returns its implicit context, an object with methods to read and update the context's entries.

```js
const implicitContext = communicator.getImplicitContext();
implicitContext.put("language", "fr");

// This invocation sends the "language" entry of the implicit context.
const greeting = await greeter.greet(name);
```
