* Websocket implementation * Websocket implementation with Akka Streams * Websocket implementation with Akka Streams * Websocket implementation with Akka Streams * Added configuration options for play server timeout and websocket frame lengths * Cleaned up code for consuming http endpoint in Messenger actor * Cleaned up code for consuming http endpoint in Messenger actor * Cleaned up code for akka streams implementation for websocket * Renamed unit test method * Added Poison Pill for stopping the actor. Fixed indentations. * Refactored the WebSocket method for readability * Refactored the JavaScript for readability * Code refactoring and removing unwanted comments * Added the latest version of jQuery * Removed .gitignore in favor of the one at the project root
		
			
				
	
	
		
			23 lines
		
	
	
		
			855 B
		
	
	
	
		
			Scala
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			855 B
		
	
	
	
		
			Scala
		
	
	
	
	
	
| name := """websockets"""
 | |
| organization := "com.baeldung"
 | |
| 
 | |
| version := "1.0-SNAPSHOT"
 | |
| 
 | |
| lazy val root = (project in file(".")).enablePlugins(PlayJava)
 | |
| 
 | |
| scalaVersion := "2.13.0"
 | |
| 
 | |
| lazy val akkaVersion = "2.6.0-M8"
 | |
| lazy val akkaHttpVersion = "10.1.10"
 | |
| 
 | |
| libraryDependencies += guice
 | |
| libraryDependencies += "com.typesafe.akka" %% "akka-actor" % akkaVersion
 | |
| libraryDependencies += "com.typesafe.akka" %% "akka-testkit" % akkaVersion
 | |
| libraryDependencies += "com.typesafe.akka" %% "akka-stream" % akkaVersion
 | |
| libraryDependencies += "com.typesafe.akka" %% "akka-http-jackson" % akkaHttpVersion
 | |
| libraryDependencies += "com.typesafe.akka" %% "akka-http" % akkaHttpVersion
 | |
| libraryDependencies += "org.projectlombok" % "lombok" % "1.18.8" % "provided"
 | |
| libraryDependencies += "junit" % "junit" % "4.12"
 | |
| 
 | |
| PlayKeys.devSettings += "play.server.http.idleTimeout" -> "infinite"
 |