Method SSL.File()->set_close_callback()
- Method
set_close_callback
voidset_close_callback(function(void|mixed:int)|zeroclose)- Description
Install a function to be called when the connection is closed, either normally or due to an error (use errno to retrieve it).
- See also