package twirl
- Source
- package.scala
- Alphabetic
- By Inheritance
- twirl
- TwirlInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait TwirlInstances extends AnyRef
Value Members
-
implicit
def
htmlContentEncoder[F[_]](implicit arg0: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, Html]
- Definition Classes
- TwirlInstances
-
implicit
def
jsContentEncoder[F[_]](implicit arg0: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, JavaScript]
Note: Twirl uses a media type of
text/javascript
.Note: Twirl uses a media type of
text/javascript
. This is obsolete, so we instead return org.http4s.MediaType.application/javascript.- Definition Classes
- TwirlInstances
-
implicit
def
txtContentEncoder[F[_]](implicit arg0: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, Txt]
- Definition Classes
- TwirlInstances
-
implicit
def
xmlContentEncoder[F[_]](implicit arg0: Applicative[F], charset: Charset = DefaultCharset): EntityEncoder[F, Xml]
- Definition Classes
- TwirlInstances