Skip to content

Weber.Http.Params API

0xAX edited this page Jan 23, 2014 · 3 revisions

Module Weber.Http.Params API

Function Details

get_host/1

get_host(conn) -> binary()

get_path/1

get_path(conn) -> binary()

get_header/2

get_header(binary(), conn) -> binary()

get_headers/1

get_headers(conn) -> [binary()]

get_cookie/2

get_cookie(binary(), conn) -> binary()

get_cookies/1

get_cookies(conn) -> binary()

get_body/1

get_body(conn) -> binary | error

param/1

param(atom, conn) -> [] | binary()

params/1

param(conn) -> [] | [{binary(), binary()}]