Difference between revisions of "WebSockets"
Jump to navigation
Jump to search
↑ https://aws.amazon.com/blogs/aws/new-aws-application-load-balancer/
↑ http://nginx.org/en/CHANGES
↑ https://www.nginx.com/blog/websocket-nginx/
(13 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 WebSockets and [[ | + | * [[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> | ||
Line 9: | Line 13: | ||
* [[AWS API Gateway]] | * [[AWS API Gateway]] | ||
* <code>[[WS-RPC]]</code> | * <code>[[WS-RPC]]</code> | ||
− | * <code>[[HTTP/3]]</code> | + | * <code>[[HTTP/3]]</code> (2020) |
* [[Server-Sent Events (SSE)]] | * [[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]
- Amazon ELB support WebSockets and HTTP/2 since 2016 [1]
- Nginx supports WebSockets since 2013, implemented in version 1.3.13 [2] including acting as a reverse proxy and load balancer of WebSocket applications.[3]
Related terms[edit]
- AWS API Gateway
WS-RPC
HTTP/3
(2020)- Server-Sent Events (SSE)
- Load testing: Gatling (software)
nats.ws
curl: (1) Protocol "wss" not supported or disabled in libcurl socket.io-client websocket handshake error: invalid value for header 'Upgrade'
See also[edit]
- wss, websocat
- WebSocket, WS-RPC,
wscat, websocat, ws, wss, nats.ws, import websockets
- HTTP, HTTP client, HTTP/1.1, HTTP/2, HTTP/3, HTTPS, HSTS CSR, TLS, SSL,
openSSL
, WebSockets, WebRTC,ssl_certificate
QUIC, HPKP, CT, List of HTTP status codes, URL redirection, Content-type:, Webhook, HTTP headers,--insecure
, Axios HTTP client, HTTP cookies, HTTP ETag, Hypertext Transfer Protocol -- HTTP/1.1
Advertising: