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.
174
174
175
175
``` php
176
176
$res = array(
177
- array( // first notification
177
+ array( // first notification (failed)
178
178
'success' => false,
179
179
'endpoint' => $theEndpointToDeleteInYourDatabaseIfExpired
180
+ 'message' => $responseMessage,
180
181
'statusCode' => $responseStatusCode,
181
182
'headers' => $responseHeaders,
182
183
'content' => $responseContent, // you may have more infos here
183
184
'expired' => $isTheEndpointWrongOrExpired,
184
185
),
185
- array( // second notification
186
+ array( // second notification (succeeded)
187
+ 'success' => true,
188
+ ),
189
+ array( // third notification
186
190
...
187
191
), ...
188
192
);
You can’t perform that action at this time.
0 commit comments