HttpCodec

trait HttpCodec[A] extends Renderer[A]
Companion
object
trait Renderer[A]
class Object
trait Matchable
class Any

Value members

Abstract methods

def parse(s: String): ParseResult[A]

Concrete methods

final def parseOrThrow(s: String): A

Warning: partial method. Intended for tests and macros that have assured that s can be parsed to a valid A.

Warning: partial method. Intended for tests and macros that have assured that s can be parsed to a valid A.

Inherited methods

def render(writer: Writer, t: A): writer

Renders the object to the writer

Renders the object to the writer

Value Params
t

object to render

writer

Writer to render to

Returns

the same Writer provided

Inherited from
Renderer