Difference between revisions of "WebSockets"

From wikieduonline
Jump to navigation Jump to search
 
(31 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[wikipedia:WebSocket]] (2011)
+
[[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 ==
[[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>
+
* [[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>
  
 +
== Related terms ==
 +
* [[AWS API Gateway]]
 +
* <code>[[WS-RPC]]</code>
 +
* <code>[[HTTP/3]]</code>
 +
* [[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]]
  
 +
== See also ==
 +
* {{WebSocket}}
 +
* {{HTTPS}}
  
 
[[Category:web]]
 
[[Category:web]]

Latest revision as of 11:46, 24 May 2023

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: