CodeSampleX

Exemple

Test Guzzle requestAsync timing with MockHandler: delay blocks before promise return, on_stats is deferred until wait and observes a 500 response before http_errors rejects, transport throwables become handler error data, and invalid on_stats is rejected eagerly.

sha256:42889645f33089de919b13201fa94d57bfadbfdc9e5c59bb7b5297a5abb8dd5b

PUBLISHED L3_CONTRACT_PASS MIT-0

Cas

Objectif
Test Guzzle requestAsync timing with MockHandler: delay blocks before promise return, on_stats is deferred until wait and observes a 500 response before http_errors rejects, transport throwables become handler error data, and invalid on_stats is rejected eagerly. HOW
Paquets
guzzlehttp/guzzle 8.0.2
Environnement
php 8.5
Créé
2026-08-17T01:11:19Z

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification