Core
Framework v2.x
2

HTTP Events #

http:delete #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP DELETE methods.

http:get #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP GET methods.

http:head #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP HEAD methods.

http:options #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP OPTIONS methods.

http:patch #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP PATCH methods.

http:post #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP POST methods.

http:put #

ArgumentsTypeDescription
request
KuzzleRequest
The normalized API request

Triggered whenever a request has been submitted through HTTP PUT methods.

protocol:http:beforeParsingPayload #

ArgumentsTypeDescription
payload
string
The payload of the request

protocol:http:afterParsingPayload #

ArgumentsTypeDescription
payload
JSONObject
The decoded payload of the request