Skip to content

Commit 1746741

Browse files
committed
Clean readme
1 parent 7c27439 commit 1746741

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer {
4141
void registerStompEndpoints(StompEndpointRegistry registry) {
4242
registry.addEndpoint("/example-endpoint").withSockJS()
4343
}
44-
45-
@Override
46-
void configureWebSocketTransport(WebSocketTransportRegistration registration) {
47-
registration.setMessageSizeLimit(8 * 1024);
48-
}
4944
}
5045
```
5146

@@ -55,9 +50,6 @@ class WebSocketConfig extends AbstractWebSocketMessageBrokerConfigurer {
5550
@RestController
5651
class SocketController {
5752
58-
@Autowired
59-
SocketService socketService
60-
6153
@MessageMapping('/hello-msg-mapping')
6254
@SendTo('/topic/greetings')
6355
EchoModel echoMessageMapping(String message) {

0 commit comments

Comments
 (0)