Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 

17 rindas
408 B

-module(wsHer).
-include("eWSrv.hrl").
-export_type([
response/0
]).
-type response() ::
{httpCode() | ok, body()}|
{httpCode() | ok, headers(), body()}|
{httpCode() | ok, headers(), {file, file:name_all()}|
{file, file:name_all(), wsUtil:range()}}|
{chunk, headers()}|
{chunk, headers(), body()}.
-callback handle(Method :: method(), Path :: binary(), Req :: wsReq()) -> response().