RequestContext #
Connection context.
This is the class used to build the context property of any KuzzleRequest object.
Technical information: github repository
Constructor #
new RequestContext([options]);| Arguments | Type | Description |
|---|---|---|
* options | object | Optional arguments |
options #
The options object can contain the following properties:
| Properties | Type | Description |
|---|---|---|
connection | ClientConnection | Connection information |
token | string | Authorization token |
user | object | Kuzzle internal user information |
Properties #
| Properties | Type | Description |
|---|---|---|
connection | ClientConnection | Connection information |
token | string | Authorization token |
user | object | Kuzzle internal user information |