Installation
The Maven Repository chapter contains all the info about how to pull spray-httpx into your classpath.
Afterwards you can use the following imports to bring all relevant identifiers into scope:
import spray.httpx.encoding._
for everything related to (de)compressionimport spray.httpx.marshalling._
for everything related to marshallingimport spray.httpx.unmarshalling._
for everything related to unmarshallingimport spray.httpx.RequestBuilding
forRequestBuilding
import spray.httpx.ResponseTransformation
forResponseTransformation
import spray.httpx.Json4sJacksonSupport
forJson4sJacksonSupport
import spray.httpx.Json4sSupport
forJson4sSupport
import spray.httpx.LiftJsonSupport
forLiftJsonSupport
import spray.httpx.SprayJsonSupport
forSprayJsonSupport
import spray.httpx.TwirlSupport
forTwirlSupport