Skip to content

Commit d31b94e

Browse files
committed
Documentation update in WebSocket section
See gh-534
1 parent 80ef960 commit d31b94e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

spring-graphql-docs/modules/ROOT/pages/transports.adoc

+6-4
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@ https://github.com/enisdenjo/graphql-ws#recipes[recipes] for client use.
110110

111111
`GraphQlWebSocketHandler` can be exposed as a WebSocket endpoint by declaring a
112112
`SimpleUrlHandlerMapping` bean and using it to map the handler to a URL path. By default,
113-
the xref:boot-starter.adoc[Boot Starter] does not expose a GraphQL over WebSocket endpoint, but it's easy to
114-
enable it by adding a property for the endpoint path. Please, see the
113+
the xref:boot-starter.adoc[Boot Starter] does not expose a GraphQL over WebSocket endpoint,
114+
but you can add a property for the endpoint path to enable it. Please, review
115115
{spring-boot-ref-docs}/web.html#web.graphql.transports.http-websocket[Web Endpoints]
116-
section for details, or check the `GraphQlWebMvcAutoConfiguration` or the
117-
`GraphQlWebFluxAutoConfiguration` for the actual Boot starter config.
116+
in the Boot reference documentation, and the list of supported `spring.graphql.websocket`
117+
https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties.web[properties].
118+
You can also look at `GraphQlWebMvcAutoConfiguration` or`GraphQlWebFluxAutoConfiguration`
119+
for the actual Boot autoconfig details.
118120

119121
The 1.0.x branch of this repository contains a WebFlux
120122
{github-10x-branch}/samples/webflux-websocket[WebSocket sample] application.

0 commit comments

Comments
 (0)