-module(jchat_http_eventsource). -export([init/2]). init(Req0, State) -> % TODO: Implement Server-Sent Events for push notifications Req1 = cowboy_req:reply(501, #{}, <<"EventSource not implemented">>, Req0), {ok, Req1, State}.