Verdict4s
com.softinio.verdict4s.Verdict4s
object Verdict4s
Batteries-included entry point.
Picks a sensible transport for whichever platform you are on — Ember on the JVM, the browser and Node Fetch API on Scala.js — so getting a working client is a one-liner:
Verdict4s.default[IO](apiKey).use { client =>
client.ask(Ask(Question.noul("Is this urgent?")), ticket)
}
If you already have an http4s Client[F], or want a backend other than the default, depend on verdict4s-client and construct Verdict4sClient directly.
Attributes
- Graph
-
- Supertypes
- Self type
-
Verdict4s.type
Members list
In this article