Core
Framework v2.x
2

HTTP Events #

http:delete #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:get #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:head #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:options #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:patch #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:post #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

http:put #

Arguments Type Description
request
KuzzleRequest
The normalized API request

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

protocol:http:beforeParsingPayload #

Arguments Type Description
payload
string
The payload of the request

protocol:http:afterParsingPayload #

Arguments Type Description
payload
JSONObject
The decoded payload of the request