Core
Guides v2.x
2

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]);

ArgumentsTypeDescription
* options
object
Optional arguments

options #

The options object can contain the following properties:

PropertiesTypeDescription
connectionClientConnectionConnection information
token
string
Authorization token
user
object
Kuzzle internal user information

Properties #

PropertiesTypeDescription
connectionClientConnectionConnection information
token
string
Authorization token
user
object
Kuzzle internal user information