rho-core

Rho - A self documenting DSL built on http4s

License

License

GroupId

GroupId

org.http4s
ArtifactId

ArtifactId

rho-core_2.11
Last Version

Last Version

0.19.1
Release Date

Release Date

Type

Type

jar
Description

Description

rho-core
Rho - A self documenting DSL built on http4s
Project URL

Project URL

https://github.com/http4s/rho
Project Organization

Project Organization

org.http4s
Source Code Management

Source Code Management

https://github.com/http4s/rho

Download rho-core_2.11

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
com.chuusai : shapeless_2.11 jar 2.3.3
org.scala-lang : scala-reflect jar 2.11.12

provided (1)

Group / Artifact Type Version
org.http4s : http4s-server_2.11 jar 0.20.11

test (3)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3
org.specs2 : specs2-core_2.11 jar 4.7.1
org.specs2 : specs2-scalacheck_2.11 jar 4.7.1

Project Modules

There are no modules declared in this project.

ρ: A DSL for building HTTP services with http4s

CI Maven Central Gitter

val httpService = new RhoRoutes[IO] {
   GET / "hello" / 'world +? param[Int]("fav") |>> { (world: String, fav: Int) => 
     Ok(s"Received $fav, $world") 
   }
}

See the tutorial, wiki and the tests for more examples.

Get more from your route definitions

The primary goal of ρ is to provide an easy to use AST with which to build HTTP services which can be inspected to extract a variety of information including:

Get ρ

Rho artifacts are available at Maven Central and snapshots are available from the Sonatype repositories.

Read the Rho Scaladocs

resolvers += Resolver.sonatypeRepo("snapshots")  // Only if you are using a -snapshot version

libraryDependencies += "org.http4s" %% "rho-swagger" % version

Stability

ρ remains a work in progress. However, it is now approaching a point where things are beginning to stabilize. Going forward changes to the api should will come more slowly and have deprecation period.

Contributing

Contributions of all kinds are welcome! Documentation contributions are especially useful for others who are also just learning to use ρ. The wiki and the tests are the primary source of documentation. Pull requests are greatly appreciated from their original authors, licensed to the http4s project under the project's open source license.

License

ρ is licensed under the terms of the Apache 2.0 license. See the license file in the base directory for more information.

org.http4s

http4s

Versions

Version
0.19.1
0.19.0
0.19.0-M8
0.19.0-M7
0.19.0-M6
0.19.0-M5
0.19.0-M4
0.19.0-M3
0.19.0-M2
0.19.0-M1
0.18.0
0.18.0-M2
0.18.0-M1
0.17.0
0.17.0-RC1
0.17.0-M3
0.16.3a
0.16.3
0.16.2a
0.16.2
0.16.1a
0.16.1
0.16.0a
0.16.0
0.15.0a
0.15.0
0.14.0a
0.14.0
0.13.1a
0.13.1
0.13.0a
0.13.0
0.12.0a
0.12.0
0.11.0a
0.11.0
0.10.1a
0.10.1
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.1
0.1.0