Converter typeclass for bytestrings.
Converter typeclass for bytestrings. Default implementations are in package.scala
A Typeclass to decode a raw http body into some specific type
A Wrapper class for a set of Http headers, for a request or response.
common methods of both request and response heads
This trait mixed in to any codes that do not allow a body in the response
This is the set of headers that are parsed into more structured forms and used internally by colossus
URL parsing can be done using one of two paths.
URL parsing can be done using one of two paths. The first uses an object based decomposition with a minimal number of string operations. This parses using the 'on' keyword and the left associative '/' operator.
The second method uses string operations in a right associative manner. Because all values are strings, it is less type safe than the object method. This is used with the 'in' keyword and the right associative '/:' operator. In this method, the final variable in the pattern will consume all remaining levels.
To use either language, import the UrlParsing._ object