Core
Write Protocols v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

RequestContext #

Connection context.

This is the class used to build the context property of any Request 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