mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
doc/session: As far as I remember, sessions have had a close method, not disconnect
This commit is contained in:
parent
f6c928c8a3
commit
ea980269cc
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ session {
|
|||
|
||||
-- methods --
|
||||
send(x) -- converts x to a string, and writes it to the connection
|
||||
disconnect(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases
|
||||
close(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases
|
||||
}
|
||||
|
||||
if session.full_jid (also session.roster and session.resource) then this is a "connected resource"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue