0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Add initial http_perf_SUITE

This commit is contained in:
Loïc Hoguin 2025-01-24 13:05:45 +01:00
parent 05d77153a0
commit 2531b26acf
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 171 additions and 20 deletions

View file

@ -0,0 +1,15 @@
%% This module is the fastest way of producing a Hello world!
-module(stream_hello_h).
-export([init/3]).
-export([terminate/3]).
init(_, _, State) ->
{[
{response, 200, #{<<"content-length">> => <<"12">>}, <<"Hello world!">>},
stop
], State}.
terminate(_, _, _) ->
ok.