WebSocket: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Organizatorium= * JSR 356 Java API for WebSocket https://jcp.org/en/jsr/detail?id=356") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | =External= | ||
* The WebSocket Protocol http://www.ietf.org/rfc/rfc6455.txt | |||
* JSR 356 Java API for WebSocket https://jcp.org/en/jsr/detail?id=356 | * JSR 356 Java API for WebSocket https://jcp.org/en/jsr/detail?id=356 | ||
=Overview= | |||
WebSocket is a protocol that enables two-way communication between a client and a remote host. The security model used during communication is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake, followed by basic message framing in top of a TCP connection. The goal of this technology is to provide a two-way communication mechanism for browser-based applications that does not rely on [[Two-way Communication over HTTP#Overview|opening multiple HTTP connections]]: the underlying TCP connection is used for two-way communication. | |||
=Concepts= |
Latest revision as of 00:16, 25 May 2018
External
- The WebSocket Protocol http://www.ietf.org/rfc/rfc6455.txt
- JSR 356 Java API for WebSocket https://jcp.org/en/jsr/detail?id=356
Overview
WebSocket is a protocol that enables two-way communication between a client and a remote host. The security model used during communication is the origin-based security model commonly used by web browsers. The protocol consists of an opening handshake, followed by basic message framing in top of a TCP connection. The goal of this technology is to provide a two-way communication mechanism for browser-based applications that does not rely on opening multiple HTTP connections: the underlying TCP connection is used for two-way communication.