From 84d1634ad10b021273ac880e4aed024002b34d3a Mon Sep 17 00:00:00 2001 From: Daria <66593181+Dariquest@users.noreply.github.com> Date: Wed, 21 May 2025 17:25:36 +0200 Subject: [PATCH] Web socket communications via route services --- route-services.html.md.erb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/route-services.html.md.erb b/route-services.html.md.erb index 708eee2..e2abb09 100644 --- a/route-services.html.md.erb +++ b/route-services.html.md.erb @@ -488,4 +488,12 @@ apps make requests over TLS. 1. Confirm that route services do not change the value of the `X-Forwarded-Proto` header. +## Web socket communications through route services + +Web socket communications through route services are supported by default and can be disabled by the following property: + +1. Set the `router.route_services.enable_websockets: false` manifest +property to disable web socket communications. +Http status code 503, `StatusServiceUnavailable`, with an error message `Websocket requests are not supported for routes bound to Route Services` will be returned if one tries to establish a web socket connection via a route service. + <% end %>