EventHttpRequest::__construct
EventHttpRequest::__construct
(PECL event >= 1.4.0-beta)
EventHttpRequest::__construct — Constructs EventHttpRequest object
Description
public EventHttpRequest::__construct ( callable $callback [, mixed $data = NULL ] )
Constructs EventHttpRequest object.
Parameters
-
callback
-
Gets invoked on requesting path. Should match the following prototype:
void callbac