ember-core


License

License

MIT
MIT
GroupId

GroupId

io.chrisdavenport
ArtifactId

ArtifactId

ember-core_2.11
Last Version

Last Version

0.0.14
Release Date

Release Date

Type

Type

jar
Description

Description

ember-core
ember-core
Project URL

Project URL

https://github.com/ChristopherDavenport/ember
Project Organization

Project Organization

io.chrisdavenport
Source Code Management

Source Code Management

https://github.com/ChristopherDavenport/ember

Download ember-core_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/io.chrisdavenport/ember-core_2.11/ -->
<dependency>
    <groupId>io.chrisdavenport</groupId>
    <artifactId>ember-core_2.11</artifactId>
    <version>0.0.14</version>
</dependency>
// https://jarcasting.com/artifacts/io.chrisdavenport/ember-core_2.11/
implementation 'io.chrisdavenport:ember-core_2.11:0.0.14'
// https://jarcasting.com/artifacts/io.chrisdavenport/ember-core_2.11/
implementation ("io.chrisdavenport:ember-core_2.11:0.0.14")
'io.chrisdavenport:ember-core_2.11:jar:0.0.14'
<dependency org="io.chrisdavenport" name="ember-core_2.11" rev="0.0.14">
  <artifact name="ember-core_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.chrisdavenport', module='ember-core_2.11', version='0.0.14')
)
libraryDependencies += "io.chrisdavenport" % "ember-core_2.11" % "0.0.14"
[io.chrisdavenport/ember-core_2.11 "0.0.14"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
org.typelevel : cats-core_2.11 jar 1.6.1
org.typelevel : cats-effect_2.11 jar 1.3.1
co.fs2 : fs2-io_2.11 jar 1.0.5
org.http4s : http4s-core_2.11 jar 0.20.1

test (5)

Group / Artifact Type Version
org.specs2 : specs2-core_2.11 jar 4.5.1
org.specs2 : specs2-scalacheck_2.11 jar 4.5.1
org.typelevel : cats-effect-laws_2.11 jar 1.3.1
org.typelevel : discipline_2.11 jar 0.11.1
com.github.alexarchambault : scalacheck-shapeless_1.13_2.11 jar 1.1.8

Project Modules

There are no modules declared in this project.

ember Build Status

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

Versions

Version
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1