Changes

Jump to navigation Jump to search
162 bytes added ,  16:42, 1 October 2018
no edit summary
This page presents one of the [[Web Application]] services. It describes how to use the WebSockets API of BaseX. WebSocket is a communication protocol for providing full-duplex communication.
 
Use WebSockets if you have to exchange data with a high frequency or if you have to send messages from the server to the client without techniques like Polling.
The WebSocket protocol was standardized in [https://tools.ietf.org/html/rfc6455 RFC 6455] by the IETF. After an initial HTTP-request, all communication takes place over a single TCP connection. In contrast to the HTTP protocol, a connection will be kept alive, and a server can send unsolicited data to the client.
administrator, editor
23

edits

Navigation menu