2 // ============LICENSE_START=======================================================
3 // Copyright (C) 2016-2018 Ericsson. All rights reserved.
4 // ================================================================================
5 // This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
6 // Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
8 // SPDX-License-Identifier: CC-BY-4.0
9 // ============LICENSE_END=========================================================
11 // @author Sven van der Meer (sven.van.der.meer@ericsson.com)
16 Websocket is a protocol to run sockets of HTTP.
17 Since it in essence a socket, the connection is realized between a server (waiting for connections) and a client (connecting to a server).
18 Server/client separation is only important for connection establishment, once connected, everyone can send/receive on the same socket (as any standard socket would allow).
20 Standard Websocket implementations are simple, no publish/subscribe and no special event handling.
21 Most servers simply send all incoming messages to all connections.
22 There is a PubSub definition on top of Websocket called link:http://wamp-proto.org/[WAMP].
23 APEX does not support WAMP at the moment.