rdpgw icon indicating copy to clipboard operation
rdpgw copied to clipboard

Events, Hooks, Tiggers and Status

Open Zetanova opened this issue 3 years ago • 1 comments

Is there any plan to emit events or execute some hooks/triggers and query the connection status

I am looking for a possibility to get a "connecting" event to be able to start the VM for the connecting user and be able to query disconnected sessions to stop VM's after a period.

Zetanova avatar Jul 13 '22 05:07 Zetanova

While not very cleanly, the connecting event is logged. You could use Establishing connection to as a trigger for starting a VM/Pod and use Close channel for terminating VMs. Obviously, this is the happy flow and it could work a bit nicer if hooks/triggers are available (which they are not currently).

bolkedebruin avatar Aug 09 '22 09:08 bolkedebruin