Method Remote.Connection()->add_close_callback()

class Remote.Connection

Method add_close_callback

void add_close_callback(function(:void) f, mixed ... args)

Description

Add a function that is called when the connection is closed.