OneAndDone.Parser protocol (One and Done v0.1.6)

View Source

Protocol for turning an inbound connection (e.g. a Plug.Conn) into a OneAndDone.Request or a OneAndDone.Response.

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

build_request(value)

@spec build_request(t()) :: OneAndDone.Request.t()

build_response(value)

@spec build_response(t()) :: OneAndDone.Response.t()