EventHttp::setDefaultCallback

EventHttp::setDefaultCallback

(PECL event >= 1.4.0-beta)

EventHttp::setDefaultCallbackSets default callback to handle requests that are not caught by specific callbacks

Description

public void EventHttp::setDefaultCallback (  string $cb  [,  string $arg  ] )

Sets default callback to handle requests that are not caught by specific callbacks

Parameters

cb

The callback 登录查看完整内容