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 #

Copied to clipboard!
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