ember ![Build Status](https://camo.githubusercontent.com/69dad269d2eb51b947d0e0e8b8232c14fee5d70a393e24d5213154ddbd48bf2f/68747470733a2f2f7472617669732d63692e6f72672f4368726973746f70686572446176656e706f72742f656d6265722e7376673f6272616e63683d6d6173746572)
Has Been Ported into Http4s as Ember Projects. Please direct issues there.
A functional fs2 backend for http.
A lot of work within was used from fs2-http. This library attempts to direct its efforts at interop with http4s.
Getting Started
First make sure you can get the current version.
libraryDependencies ++= Seq(
"io.chrisdavenport" %% "ember-core" % "<version>",
"io.chrisdavenport" %% "ember-server" % "<version>",
"io.chrisdavenport" %% "ember-client" % "<version>"
)
Then plug in your http service into the server as demonstrated in the example and go wild. This currently works for request response pairs that operate with a known Content-Length.
If you run into any difficulties please enable partial unification in your build.sbt
scalacOptions ++= Seq("-Ypartial-unification")
Future Work
- Chunked Encoding
- Websocket Support
- Client Support
- Websocket Client