Skip to content

Commit 67a31ca

Browse files
authored
Merge pull request #193 from Dariquest/patch-1
Web socket communications via route services
2 parents 71c9d23 + 84d1634 commit 67a31ca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

route-services.html.md.erb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,4 +488,12 @@ apps make requests over TLS.
488488
1. Confirm that route services do not change the value of the
489489
`X-Forwarded-Proto` header.
490490

491+
## <a name='websocket-route-services'></a> Web socket communications through route services
492+
493+
Web socket communications through route services are supported by default and can be disabled by the following property:
494+
495+
1. Set the `router.route_services.enable_websockets: false` manifest
496+
property to disable web socket communications.
497+
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.
498+
491499
<% end %>

0 commit comments

Comments
 (0)