Debian Codegraph @

test/handlers/hello_h.erl

raw
1 %% This module sends a hello world response.
2
3 -module(hello_h).
4
5 -export([init/2]).
6
7 init(Req, Opts) ->
8 {ok, cowboy_req:reply(200, #{}, <<"Hello world!">>, Req), Opts}.