File

spec/scansion/uptime.scs @ 13593:f57872788424

mod_admin_shell: Add session method to request (password) input from shell client
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jan 2025 18:17:30 +0000
parent 13405:c8f3cfe59e90
line wrap: on
line source

# XEP-0012: Last Activity / mod_uptime

[Client] Romeo
	jid: romeo@localhost
	password: password

-----

Romeo connects

Romeo sends:
	<iq id='a' type='get' to='localhost'>
		<query xmlns='jabber:iq:last'/>
	</iq>

Romeo receives:
	<iq type='result' id='a' from='localhost'>
		<query xmlns='jabber:iq:last' seconds='{scansion:any}'/>
	</iq>

Romeo disconnects