EventHttp (class)

The EventHttp class

Introduction

(PECL event >= 1.4.0-beta)

Represents HTTP server.

Class synopsis

final EventHttp {
/* Methods */
public bool accept (  mixed $socket  )
public bool addServerAlias (  string $alias  )
public void bind (  string $address  ,  int $port  )
public __construct (  EventBase $base  [,  EventSslContext $ctx  = NULL  ] )
public bool removeServerAlias (  string $alias  )
public void setAllowedMethods (  int $methods  )
public void setCallback (  string $path  ,  string $cb  [,  string $arg  ] )
public void setDefaultCallback (  string $cb  [,  string $arg  ] )
public void setMaxBodySize (  int $value  )
public void setMaxHeadersSize (  int $value  )
public void setTimeout (  int $value  )
}

Table of Contents

© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.eventhttp.php

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部