MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN
Index

HttpTransport

MMO\admin\monitoring · 1 symbol · generated 27 Oct 2026

class

HttpTransport

HttpTransport.php:13
class MMO\admin\monitoring\HttpTransport implements MMO\admin\monitoring\iHttpTransport
Namespace
MMO\admin\monitoring
Implements
iHttpTransport
See
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

Properties2

userAgent

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

verify

bool $verify = true
Type
bool

Methods4

certificate($chain)

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

name($dn)

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