WebSocket: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* The WebSocket Protocol http://www.ietf.org/rfc/rfc6455.txt | * 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 [[Two-way Communication over HTTP#Overview|opening multiple HTTP connections]]. |
Revision as of 19:56, 25 April 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.