Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 757 Bytes

websockets.md

File metadata and controls

10 lines (6 loc) · 757 Bytes

WebSockets

A websockets example is present under "Chat" in the Drawer Menu. JHipster React Native uses the existing /websocket/tracker endpoint to connect. It sends and receives chat messages using the /topic/chat message mapping.

Note: The default JHipster websockets configuration requires users to authenticate before connecting.

For a more advanced websockets example, see the tracker.service.ts and ActivityService.java in the generated JHipster webapp.