msnp-wiki/docs/commands/bye.md
yellows111 ce7c3bee1c
0.2.0: The Winter Roll-up
i have basically touched every file help

* Moved all the error code stuff to one new sectional page, because the old way of doing it sucked big time.
* Rename passport (soap) to RST
* Formatting changes (many)
* Several corrections
* change git host because git.kevinthe.horse seems Dead
2024-12-18 20:16:29 +00:00

38 lines
741 B
Markdown

# Introduction
`BYE` is a command introduced with [MSNP2](../versions/msnp2.md).
It is a Switchboard Server command, without a response payload.
Used when a client leaves the current switchboard session.
# Client/Request
This client can not be sent from the client.
# Server/Response
`BYE user-handle {timeout}`
Where `user-handle` is the parting user's handle.
Where `timeout` is `1` if the server disconnected this user automatically. This parameter is optional.
# Examples
## User quit manually
```
S: BYE anotheruser@hotmail.com
```
## User timed out
```
S: BYE anotheruser@hotmail.com 1
```
## Invalid context
*Inherited from being an unimplemented command.*
```
C: BYE 1
```
Server disconnects client.
# Known changes
None.