UP | HOME

Types

Types

json_term() = map()

Route    = cowboy_router:route_match()
Req      = cowboy_req:req()
Status   = non_neg_integer() | atom() | binary()
Body     = iodata() | json_term()
Headers  = map()

Handlers = [{HostMatch, [{module(), any()}]}]

Option  = {ip, inet:ip_address()}
	| {port, inet:port_number()}
	| {num_acceptors, non_neg_integer()}
	| {cacertfile, file:name_all()}
	| {certfile, file:name_all()}
	| {keyfile, file:name_all()}
	| {static_dir, {HostMatch, StaticDir}}
	| {log_handlers, [{module(), any()}]}
Options = [Option]

Author: Sina Samavati

Created: 2018-09-19