hgiddens / http4s-global-middleware   3.0.0

MIT License GitHub

Syntax for adding middleware to all subsequently mounted routes.

Scala versions: 2.11

http4s-global-middleware 3.0.0


Group ID:
com.github.hgiddens
Artifact ID:
http4s-global-middleware_2.11
Version:
3.0.0
Release Date:
Sept 4, 2016
Licenses:

libraryDependencies += "com.github.hgiddens" %% "http4s-global-middleware" % "3.0.0"
resolvers += Resolver.bintrayRepo("hgiddens", "maven")

Mill build tool

ivy"com.github.hgiddens::http4s-global-middleware:3.0.0"
MavenRepository("https://dl.bintray.com/hgiddens/maven")

Scala CLI

//> using dep "com.github.hgiddens::http4s-global-middleware:3.0.0"

Ammonite REPL

import $ivy.`com.github.hgiddens::http4s-global-middleware:3.0.0`
import ammonite._, Resolvers._
val res = Resolver.Http(
  "Bintray hgiddens maven",
  "Some(https://dl.bintray.com/hgiddens/maven)",
  IvyPattern,
  false)
interp.resolvers() = interp.resolvers() :+ res

<dependency>
  <groupId>com.github.hgiddens</groupId>
  <artifactId>http4s-global-middleware_2.11</artifactId>
  <version>3.0.0</version>
</dependency>

compile group: 'com.github.hgiddens', name: 'http4s-global-middleware_2.11', version: '3.0.0'