Simple and concise HTTP client library for Scala

后端 未结 11 1848
梦如初夏
梦如初夏 2020-12-12 20:26

I need a mature HTTP client library that is idiomatic to scala, concise in usage, simple semantics. I looked at the Apache HTTP and the Scala Dispatch and numerous new libra

11条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 21:00

    A little late to the party here, but I've been impressed with spray-client.

    It's got a nice DSL for building requests, supports both sync and async execution, as well as a variety of (un)marshalling types (JSON, XML, forms). It plays very nicely with Akka, too.

提交回复
热议问题