websocket-scala-client icon indicating copy to clipboard operation
websocket-scala-client copied to clipboard

Pure Scala WebSocket Client

Scala Websocket Client

build coverage mvn

Scala Websocket Client is an open-source library which provides a clean, programmer-friendly API to describe Websocket request/response machinery. Communication with server handled using one of the backends, which wrap other Scala or Java HTTP client implementations.

Supported backends:

  • [x] Netty
  • [x] JDK Http Client
  • [x] Akka
  • [x] Pekko
  • [ ] Zio-Http
  • [ ] Async-http-client
  • [ ] OkHttp
  • [ ] Armeria

Supported Serialization/Deserialization formats:

  • [x] Avro using Avro4s
  • [ ] Protobuf
  • [ ] Json using Circe
  • [ ] Json using Play-Json
  • [ ] Json using Spray-Json
  • [ ] Json using Jsoniter-scala
  • [ ] Json using Borer
  • [ ] Json using uJson
  • [ ] CBOR using Borer