Application Sessions#

Do not construct this object directly, instead access the application_sessions property of an ngrok.Client object.

class ngrok.services.ApplicationSessionsClient(client)[source]#
delete(id)[source]#

Delete an application session by ID.

Parameters:

id (str) – a resource identifier

https://ngrok.com/docs/api#api-application-sessions-delete

get(id)[source]#

Get an application session by ID.

Parameters:

id (str) – a resource identifier

https://ngrok.com/docs/api#api-application-sessions-get

Return type:

ApplicationSession

list(before_id=None, limit=None)[source]#

List all application sessions for this account.

Parameters:
  • before_id (str) –

  • limit (str) –

https://ngrok.com/docs/api#api-application-sessions-list

Return type:

ApplicationSessionList