Remove unnecessary brace in websocket documenation
Closes gh-#27339
This commit is contained in:
@@ -1177,7 +1177,7 @@ We can trace the flow through a simple example. Consider the following example,
|
|||||||
@Controller
|
@Controller
|
||||||
public class GreetingController {
|
public class GreetingController {
|
||||||
|
|
||||||
@MessageMapping("/greeting") {
|
@MessageMapping("/greeting")
|
||||||
public String handle(String greeting) {
|
public String handle(String greeting) {
|
||||||
return "[" + getTimestamp() + ": " + greeting;
|
return "[" + getTimestamp() + ": " + greeting;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user