public   void    EventHttpConnection::setCloseCallback    (     callable     $callback      [,     mixed     $data     ] )

EventHttpConnection::setCloseCallbackSet callback for connection close

callback

Callback which is called when connection is closed. Should match the following prototype:

void callback ([ EventHttpConnection $conn = NULL [, mixed $arg = NULL ]] )