Difference between revisions of "WebSockets"

From wikieduonline
Jump to navigation Jump to search
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[wikipedia:WebSocket]] (2011) is a computer communications protocol, providing [[full-duplex]] communication channels over a single [[TCP]] connection. The WebSocket protocol defines a <code>ws://</code> and <code>wss://</code> prefix to indicate a WebSocket and a WebSocket Secure connection, respectively.
+
[[wikipedia:WebSocket]] (2011) is a computer communications protocol, providing [[full-duplex]] communication channels over a single [[TCP]] connection. The WebSocket protocol defines a <code>[[ws]]://</code> and <code>[[wss]]://</code> prefix to indicate a WebSocket and a WebSocket Secure connection, respectively.
 +
 
 +
* https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications
 +
 
 +
The URL to which to connect; this should be the URL to which the WebSocket server will respond. This should use the URL scheme wss://, although some software may allow you to use the insecure ws:// for local connections.
  
  
 
== Web Server implementation ==
 
== Web Server implementation ==
* [[Amazon ELB]] support from 2016<ref>https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/</ref>
+
* [[Amazon ELB]] support WebSockets and [[HTTP/2]] since 2016 <ref>https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/</ref>
 
* [[Nginx]] supports WebSockets since 2013, implemented in version 1.3.13 <ref>http://nginx.org/en/CHANGES</ref> including acting as a [[reverse proxy]] and [[load balancer]] of WebSocket applications.<ref>https://www.nginx.com/blog/websocket-nginx/</ref>
 
* [[Nginx]] supports WebSockets since 2013, implemented in version 1.3.13 <ref>http://nginx.org/en/CHANGES</ref> including acting as a [[reverse proxy]] and [[load balancer]] of WebSocket applications.<ref>https://www.nginx.com/blog/websocket-nginx/</ref>
  
 
== Related terms ==
 
== Related terms ==
 
* [[AWS API Gateway]]
 
* [[AWS API Gateway]]
* [[WS-RPC]]
+
* <code>[[WS-RPC]]</code>
* [[HTTP/3]]
+
* <code>[[HTTP/3]]</code> (2020)
 +
* [[Server-Sent Events (SSE)]]
 +
* [[Load testing]]: [[Gatling (software)]]
 +
* <code>[[nats.ws]]</code>
 +
[[curl: (1) Protocol "wss" not supported or disabled in libcurl]]
 +
[[socket.io-client]]
 +
[[websocket handshake error: invalid value for header]] 'Upgrade'
 +
* [[Caddyfile]]
 +
* [[8546]] [[geth]]
 +
* [[ws npm package]]
  
 
== See also ==
 
== See also ==
 +
* {{wss}}
 
* {{WebSocket}}
 
* {{WebSocket}}
 
* {{HTTPS}}
 
* {{HTTPS}}
  
 
[[Category:web]]
 
[[Category:web]]

Latest revision as of 12:04, 19 August 2024

wikipedia:WebSocket (2011) is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol defines a ws:// and wss:// prefix to indicate a WebSocket and a WebSocket Secure connection, respectively.

The URL to which to connect; this should be the URL to which the WebSocket server will respond. This should use the URL scheme wss://, although some software may allow you to use the insecure ws:// for local connections.


Web Server implementation[edit]

Related terms[edit]

curl: (1) Protocol "wss" not supported or disabled in libcurl
socket.io-client
websocket handshake error: invalid value for header 'Upgrade'

See also[edit]

  • https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/
  • http://nginx.org/en/CHANGES
  • https://www.nginx.com/blog/websocket-nginx/
  • Advertising: