Difference between revisions of "XMPP Resources"

Jump to navigation Jump to search
93 bytes added ,  07:56, 8 April 2019
no edit summary
(Remove outdated information about priorities and selecting human readable resources.)
Line 2: Line 2:


Resources allow individual clients to be addressable on the network, this way the server can send messages to all of your online clients or address a particular client (for instance, to send a file only to your phone).
Resources allow individual clients to be addressable on the network, this way the server can send messages to all of your online clients or address a particular client (for instance, to send a file only to your phone).
Clients can request a specific, human readable, resource such as "Home" or "Work", but this is generally discouraged because resources are often overriden by the server. Because servers may override resources with random routing data, if you must display individual clients to the user (for example, to ask if they want to send a file to a friends phone or laptop), information about the device type from XEP-0030: Service Discovery or software version information from XEP-0092: Software Version should be displayed instead.
Specifying a fixed resource like "Home" or "Work" is generally discouraged because of security concerns. Because servers may also override resources with random routing data, if you must display individual clients to the user (for example, to ask if they want to send a file to a friends phone or laptop), information about the device type from XEP-0030: Service Discovery or software version information from XEP-0092: Software Version should be displayed instead. See also [[XMPP_IM_Client_Design_Guidelines#Do_not_to_encode_any_semantics_into_the_resource.2C_let_the_server_generate_a_resource_for_you|this page]].


{{Technical Page}}
{{Technical Page}}
168

edits

Navigation menu