Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Dec 6, 2019
1 parent d4d940e commit de8a6c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/docs/asciidoc/web/websocket.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ The STOMP broker relay also creates a separate TCP connection for every connecte
WebSocket client. You can configure the STOMP credentials that are used for all TCP
connections created on behalf of clients. This is exposed in both the XML namespace
and Java configuration as the `clientLogin` and `clientPasscode` properties with default
values of `guest`and `guest`.
values of `guest` and `guest`.

NOTE: The STOMP broker relay always sets the `login` and `passcode` headers on every `CONNECT`
frame that it forwards to the broker on behalf of clients. Therefore, WebSocket clients
Expand Down Expand Up @@ -1787,8 +1787,8 @@ in applications that do not maintain a server-side session or in
mobile applications where it is common to use headers for authentication).

The https://tools.ietf.org/html/rfc6455#section-10.5[WebSocket protocol, RFC 6455]
"`doesn't prescribe any particular way that servers can authenticate clients during
the WebSocket handshake.`" In practice, however, browser clients can use only standard
"doesn't prescribe any particular way that servers can authenticate clients during
the WebSocket handshake." In practice, however, browser clients can use only standard
authentication headers (that is, basic HTTP authentication) or cookies and cannot (for example)
provide custom headers. Likewise, the SockJS JavaScript client does not provide
a way to send HTTP headers with SockJS transport requests. See
Expand Down Expand Up @@ -1921,7 +1921,7 @@ session that sent the message being handled).

You can send a message to user destinations from any application
component by, for example, injecting the `SimpMessagingTemplate` created by the Java configuration or
the XML namespace. (The bean name is `"brokerMessagingTemplate"` if required
the XML namespace. (The bean name is `brokerMessagingTemplate` if required
for qualification with `@Qualifier`.) The following example shows how to do so:

[source,java,indent=0]
Expand Down

0 comments on commit de8a6c8

Please sign in to comment.