File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -174,15 +174,19 @@ The `expired` key can be useful to clean your database of expired endpoints.
174174
175175``` php
176176$res = array(
177- array( // first notification
177+ array( // first notification (failed)
178178 'success' => false,
179179 'endpoint' => $theEndpointToDeleteInYourDatabaseIfExpired
180+ 'message' => $responseMessage,
180181 'statusCode' => $responseStatusCode,
181182 'headers' => $responseHeaders,
182183 'content' => $responseContent, // you may have more infos here
183184 'expired' => $isTheEndpointWrongOrExpired,
184185 ),
185- array( // second notification
186+ array( // second notification (succeeded)
187+ 'success' => true,
188+ ),
189+ array( // third notification
186190 ...
187191 ), ...
188192);
You can’t perform that action at this time.
0 commit comments