Behaviours: gen_server.
auth(Pid::pid(), X2::basic) -> {binary(), binary()} | undefined | {error, any()}
body(Pid::pid()) -> binary() | [{binary(), binary() | true}] | jsx:json_term() | term()
body_qs(Pid::pid()) -> [{binary(), binary() | true}] | {error, term()}
body_raw(Pid::pid()) -> binary() | {error, term()} | {more, binary()}
code_change(OldVsn, Req, Extra) -> any()
get_req(Pid::pid()) -> cowboy_req:req()
handle_call(Msg, From, Req) -> any()
handle_cast(Msg, Req) -> any()
handle_info(Info, Req) -> any()
header(Pid::pid(), Name::binary()) -> binary() | undefined
header(Pid::pid(), Name::binary(), Default) -> binary() | Default
Default = any()
init(Req) -> any()
method(Pid::pid()) -> binary()
param(Pid::pid(), Key::atom()) -> binary() | undefined
params(Pid::pid()) -> [{atom(), binary()}] | undefined
parse_header(Pid::pid(), Name::binary()) -> any() | undefined | {error, any()}
peer(Pid::pid()) -> {inet:ip_address(), inet:port_number()}
qs(Pid::pid()) -> binary()
qs_val(Pid::pid(), Key::binary()) -> binary() | undefined
qs_vals(Pid::pid()) -> [{binary(), binary() | true}]
reply(Pid::pid(), Status::cowboy:http_status()) -> ok
reply(Pid::pid(), Status::cowboy:http_status(), Headers::cowboy:http_headers(), Body::iodata()) -> ok
set_req(Pid::pid(), Req::cowboy_req:req()) -> ok
start(Req::cowboy_req:req()) -> {ok, pid()} | ignore | {error, any()}
start_link(Req::cowboy_req:req()) -> {ok, pid()} | ignore | {error, any()}
stop(Pid::pid()) -> ok
terminate(Reason, Req) -> any()
uri(Pid::pid()) -> binary()
version(Pid::pid()) -> cowboy:http_version()
Generated by EDoc