rho-examples

Rho Examples- Rho in action

Лицензия

Лицензия

Группа

Группа

org.http4s
Идентификатор

Идентификатор

rho-examples_2.11
Последняя версия

Последняя версия

0.1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

rho-examples
Rho Examples- Rho in action
Ссылка на сайт

Ссылка на сайт

https://github.com/http4s/rho
Организация-разработчик

Организация-разработчик

org.http4s
Система контроля версий

Система контроля версий

https://github.com/http4s/rho

Скачать rho-examples_2.11

Как подключить последнюю версию

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

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.scala-lang : scala-library jar 2.11.2
org.http4s : rho-swagger_2.11 jar 0.1.1
org.http4s : rho-hal_2.11 jar 0.1.1
org.http4s : http4s-server_2.11 jar 0.3.0
org.http4s : http4s-blazeserver_2.11 jar 0.3.0
org.http4s : http4s-json4s-jackson_2.11 jar 0.3.0

test (2)

Идентификатор библиотеки Тип Версия
ch.qos.logback : logback-classic jar 1.1.2
org.typelevel : scalaz-specs2_2.11 jar 0.3.0

Модули Проекта

Данный проект не имеет модулей.

ρ: 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

Версии библиотеки

Версия
0.1.1
0.1.0