Behaviours: cowboy_http_handler.
handle/2 | handle all request by taking the relative path and returning a redirection to the SSL path. |
init/3 | this just returns the passed request. |
terminate/3 | on termination nothing needs to be done. |
handle(Req::cowboy_req:req(), State::any()) -> {ok, cowboy_req:req(), any()}
handle all request by taking the relative path and returning a redirection to the SSL path
init(Type::any(), Req::cowboy_req:req(), Opts::any()) -> {ok, cowboy_req:req(), []}
this just returns the passed request
terminate(Reason::any(), Req::any(), State::any()) -> ok
on termination nothing needs to be done
Generated by EDoc