netty-codec-stomp server and client for stomp.js example
See original GitHub issueExpected behavior
Actual behavior
Steps to reproduce
server: stomp codec ChannelPipeline pipeline = ch.pipeline(); pipeline.addLast(“decoder”, new StompSubframeDecoder()); pipeline.addLast(“encoder”, new StompSubframeEncoder()); pipeline.addLast(“aggregator”, new StompSubframeAggregator(65536)); pipeline.addLast(“handler”, new StompServerHandler()); client: stomp.js,html var stompClient = Stomp.client(“ws://127.0.0.1:8083”); stompClient.connect({userName: “张三”, userId: “test1”}, function(frame) { console.error(“连接成功”); });
Minimal yet complete reproducer code (or URL to code)
stomp codec
Netty version
4.1.37
JVM version (e.g. java -version
)
1.8
OS version (e.g. uname -a
)
w10
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Using STOMP JS
To create a STOMP client JavaScript object, you need to call Stomp.client(url) with the URL corresponding to the server's WebSocket endpoint:
Read more >Stomp JS in 5 minutes. What is STOMP ? | by Debanjana Maitra
To create a STOMP client JavaScript object, you need to call Stomp.client(url) with the URL corresponding to the server's WebSocket endpoint.
Read more >STOMP Over WebSocket
Create a STOMP client. In a Web browser with regular Web Socket. STOMP JavaScript clients will communicate to a STOMP server using a...
Read more >Using Spring Boot for WebSocket Implementation with STOMP
The server-side will be coded purely in Java. But, in the case of the client, I will show snippets written both in Java...
Read more >Using WebSocket to build an interactive web application
In this guide, we use STOMP messaging with Spring to create an ... In response, the server will push a greeting into a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, maybe it can be useful for people who want to use STOMP and Netty on server side.
ok, thanks!