Skip to content

Akka HTTP WebSocket Server sample applications

Notifications You must be signed in to change notification settings

kevinsimard/akka-http-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akka HTTP WebSocket

Code Structure

├── src
│   └── main
│       ├── java
│       │   └── com
│       │       └── kevinsimard
│       │           └── akka
│       │               └── http
│       │                   └── websocket
│       │                       ├── Application.java
│       │                       ├── ChatRoomActor.java
│       │                       ├── WallclockActor.java
│       │                       └── WallclockWorker.java
│       └── resources
│           └── log4j.properties
├── .editorconfig
├── .gitattributes
├── .gitignore
├── README.md
└── pom.xml

Usage

Run mvn compile exec:java to run the application.

Chat Room

Connect to ws://localhost:8080/chatroom/<username> with a WebSocket client to send messages between connections.

Wallclock

Connect to ws://localhost:8080/wallclock with a WebSocket client to receive push messages of the current date every second.

About

Akka HTTP WebSocket Server sample applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages