MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

HttpTransport

MMO\admin\monitoring · 1 symbole · générée le 27 Oct 2026

class

HttpTransport

HttpTransport.php:13
class MMO\admin\monitoring\HttpTransport implements MMO\admin\monitoring\iHttpTransport
Espace de noms
MMO\admin\monitoring
Implémente
iHttpTransport
Voir
iHttpTransport with curl: redirects followed, the certificate read during the same request.
$answer = (new HttpTransport())->fetch('https://my.oviepro.fr/', [], 10); $answer['status']; // 200 $answer['certificate']['expires']; // a unix timestamp

Propriétés2

userAgent

string $userAgent = 'mmo.admin-hub/1.0 (monitoring)'
Type
string

verify

bool $verify = true
Type
bool

Méthodes4

certificate($chain)

HttpTransport.php:75
protected function certificate(array $chain): ?array
$chainarraycurl's certinfo: the server's certificate first
retournenull | arrayint, issuer: string, subject: string}|null

name($dn)

HttpTransport.php:84
protected function name(string $dn): string
$dnstring
retournestringthe CN, or the O, of a distinguished name: CN=R11, O=Let's Encrypt, C=US is R11 (Let's Encrypt)