UDP API Definition: Difference between revisions

Line 189: Line 189:
* In case of a '''501 LOGIN FIRST''' message the client should silently resend an auth command and send the failed command again.
* In case of a '''501 LOGIN FIRST''' message the client should silently resend an auth command and send the failed command again.
* A '''502 ACCESS DENIED''' message should abort the current action on the client side and display a message to the user.
* A '''502 ACCESS DENIED''' message should abort the current action on the client side and display a message to the user.
* A '''503 CLIENT VERSION OUTDATED''' message states that the udp server has been updated and does not support your client any longer. (protover is too low). A 201 message referes to a new version of the client software.
* A '''506 INVALID SESSION''' means that either the session key parameter "s" was not provided with a command that requires it or the session key is no longer valid. The client should reissue an AUTH command.
* A '''506 INVALID SESSION''' means that either the session key parameter "s" was not provided with a command that requires it or the session key is no longer valid. The client should reissue an AUTH command.
{{eyecatch|NOTE:| A frontend shall expect 501 and 502 messages to be returned on ANY command.}}
{{eyecatch|NOTE:| A frontend shall expect 501 and 502 messages to be returned on ANY command.}}
Line 216: Line 217:


----
----
=== LOGOUT: Logout ===
=== LOGOUT: Logout ===
'''Command String:'''
'''Command String:'''
10

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.