Method SSL.sslfile()->set_close_callback()
- Method
set_close_callback
voidset_close_callback(function(void|mixed:int)close)- 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