8000 GitHub - btomala/akka-http-twirl: Twirl file marshalling support for akka-http
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

btomala/akka-http-twirl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Download

akka-http-twirl

Base on spray/spray TwirlSupport

akka-http-twirl provides Twirl Xml, Html and Txt file marshalling support for Akka HTTP.

Installation

depend on akka-http version 10.0.1

Don't forget add twirl plugin.

plugins.sbt

addSbtPlugin("com.typesafe.sbt"  % "sbt-twirl"            % "1.3.0")

build.sbt

resolvers += "Bartek's repo at Bintray" at "https://dl.bintray.com/btomala/maven"

lazy val myProject = (project in file(".")).enablePlugins(SbtTwirl)

libraryDependencies += "btomala" %% "akka-http-twirl" % "lastVersion"

Usage

Mix TwirlSupport into your Akka HTTP code which is supposed to marshal Twirl Html, Xml or Txt.

For more details look in to ExampleApp.

License

This code is open source software licensed under the Apache 2.0 License.

About

Twirl file marshalling support for akka-http

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0