aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/hello_h.erl
blob: 3be7b6dc6b9f4aaa53259ec7b23676f6446e901a (plain) (blame)
1
2
3
4
5
6
7
8
%% This module sends a hello world response.

-module(hello_h).

-export([init/2]).

init(Req, Opts) ->
	{ok, cowboy_req:reply(200, [], <<"Hello world!">>, Req), Opts}.