Changes

Jump to navigation Jump to search
No change in size ,  11:40, 27 September 2018
no edit summary
=Functions=
==ws:sendid==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:sendid||$message as xs:anyAtomicType, $ids as xs:string*|empty-sequence()}}
|-
| '''Summary'''
|Sends a <code>$message</code>, which may be Returns the ID of type xs:string, xs:base64Binary or xs:hexBinary, to the users with the specified <code>$ids</code>current WebSocket client.
|}
==ws:broadcastids==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:broadcastids||$message as xs:anyAtomicType|empty-sequence()string*}}
|-
| '''Summary'''
|Broadcasts a <code>$message</code>, which may be Returns the ids of type xs:string, xs:base64Binary or xs:hexBinary, to all connected currently registered WebSocket clients except to the caller.
|}
==ws:emitpath==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:emitpath|$message id as xs:anyAtomicTypestring|empty-sequence()xs:string}}
|-
| '''Summary'''
|Emits a <code>Returns the path of the WebSocket client with the specified {{Code|$message</code>, which may be of type xs:string, xs:base64Binary or xs:hexBinary, to all connected clientsid}}.
|}
==ws:idsend==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:id|send|$message as xs:anyAtomicType, $ids as xs:string*|empty-sequence()}}
|-
| '''Summary'''
|Returns Sends a <code>$message</code>, which may be of type xs:string, xs:base64Binary or xs:hexBinary, to the ID of users with the current WebSocket clientspecified <code>$ids</code>.
|}
==ws:idsbroadcast==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:ids|broadcast|$message as xs:string*anyAtomicType|empty-sequence()}}
|-
| '''Summary'''
|Returns the ids Broadcasts a <code>$message</code>, which may be of type xs:string, xs:base64Binary or xs:hexBinary, to all currently registered WebSocket connected clientsexcept to the caller.
|}
==ws:pathemit==
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|ws:pathemit|$id message as xs:stringanyAtomicType|xs:stringempty-sequence()}}
|-
| '''Summary'''
|Returns the path Emits a <code>$message</code>, which may be of the WebSocket client with the specified {{Code|$id}}type xs:string, xs:base64Binary or xs:hexBinary, to all connected clients.
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu