array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventhttpconnection.construct.php', 1 => 'EventHttpConnection::__construct', ), 'up' => array ( 0 => 'class.eventhttpconnection.php', 1 => 'EventHttpConnection', ), 'prev' => array ( 0 => 'class.eventhttpconnection.php', 1 => 'EventHttpConnection', ), 'next' => array ( 0 => 'eventhttpconnection.getbase.php', 1 => 'EventHttpConnection::getBase', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventhttpconnection/construct.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL event >= 1.2.6-beta)
EventHttpConnection::__construct — Constructs EventHttpConnection object
$base
,$dns_base
,$address
,$port
,$ctx
= null
Constructs EventHttpConnection object.
base
Associated event base.
dns_base
If
dns_base
is null
, hostname resolution will block.
address
The address to connect to.
port
The port to connect to.
ctx
EventSslContext class object. Enables OpenSSL.
Hinweis:
This parameter is available only if
Event
is compiled with OpenSSL support and only withLibevent 2.1.0-alpha
and higher.
Version | Beschreibung |
---|---|
PECL event 1.9.0 |
OpenSSL support (ctx ) added.
|