Commit 5a9f2cbe by Michael Brachmann

debugging routing

parent 7fe019c9
......@@ -15,6 +15,8 @@ type
['{673FE678-D9EF-468D-89CB-CEF26E8758BC}']
[HttpGet, Route('emimobile')]
procedure WebSockerConnectionHandler;
[HttpGet, Route('health')]
function Health: string;
end;
implementation
......
......@@ -22,6 +22,7 @@ type
TWebSocketService = class(TInterfacedObject, IWebSocketService)
private
procedure WebSockerConnectionHandler;
function Health: string;
procedure ProcessJsonMessage(const AMsg: string);
end;
......@@ -88,6 +89,11 @@ begin
end;
end;
function TWebSocketService.Health: string;
begin
Result := 'ok';
end;
procedure TWebSocketService.ProcessJsonMessage(const AMsg: string);
var
MsgDTO: TBaseRequest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment