Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill active session without deleting #7

Open
frisedel opened this issue Feb 22, 2022 · 5 comments
Open

Kill active session without deleting #7

frisedel opened this issue Feb 22, 2022 · 5 comments

Comments

@frisedel
Copy link

Is there a "Kill session" call for this api? In the client UI, there is a button doing just that but I can't seem to find any API call for it. I tried "Kill connection" but that is ie the same as "Delete connection", but using patch rather than delete.

@AustinLeath
Copy link

Is there a "Kill session" call for this api? In the client UI, there is a button doing just that but I can't seem to find any API call for it. I tried "Kill connection" but that is ie the same as "Delete connection", but using patch rather than delete.

There very well may be a kill session api route, this documentation is out of date, but is the best I have found. I will do some digging with postman and see what i can find out for you this evening.

@ridvanaltun
Copy link
Owner

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

@frisedel
Copy link
Author

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

yes, that is true, but this is still one of the better documents for the rest api that I have found :)

@AustinLeath
Copy link

This document is based on Guacamole version 1.1.0 and the latest version is 1.4.0, differences may possible.

yes, that is true, but this is still one of the better documents for the rest api that I have found :)

I agree. This is literally THE best documentation out there. I have made some discoveries that I would like to add, but just need to find the time

@frisedel
Copy link
Author

@ridvanaltun the kill button is possibly linked to the "sendEnd" function at line 71.
https://guacamole.apache.org/doc/guacamole-common-js/main_webapp_modules_OutputStream.js.html

if so, the functionality is there and possibly is in the api some where. but I think that we will just have to close the stream forcefully when done by terminating and removing the connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants