Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
emiMobile
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mac Stephens
emiMobile
Commits
5a9f2cbe
Commit
5a9f2cbe
authored
May 07, 2026
by
Michael Brachmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging routing
parent
7fe019c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Ws.Service.pas
emiMobileServer/Source/Ws.Service.pas
+2
-0
Ws.ServiceImpl.pas
emiMobileServer/Source/Ws.ServiceImpl.pas
+6
-0
No files found.
emiMobileServer/Source/Ws.Service.pas
View file @
5a9f2cbe
...
@@ -15,6 +15,8 @@ type
...
@@ -15,6 +15,8 @@ type
[
'{673FE678-D9EF-468D-89CB-CEF26E8758BC}'
]
[
'{673FE678-D9EF-468D-89CB-CEF26E8758BC}'
]
[
HttpGet
,
Route
(
'emimobile'
)]
[
HttpGet
,
Route
(
'emimobile'
)]
procedure
WebSockerConnectionHandler
;
procedure
WebSockerConnectionHandler
;
[
HttpGet
,
Route
(
'health'
)]
function
Health
:
string
;
end
;
end
;
implementation
implementation
...
...
emiMobileServer/Source/Ws.ServiceImpl.pas
View file @
5a9f2cbe
...
@@ -22,6 +22,7 @@ type
...
@@ -22,6 +22,7 @@ type
TWebSocketService
=
class
(
TInterfacedObject
,
IWebSocketService
)
TWebSocketService
=
class
(
TInterfacedObject
,
IWebSocketService
)
private
private
procedure
WebSockerConnectionHandler
;
procedure
WebSockerConnectionHandler
;
function
Health
:
string
;
procedure
ProcessJsonMessage
(
const
AMsg
:
string
);
procedure
ProcessJsonMessage
(
const
AMsg
:
string
);
end
;
end
;
...
@@ -88,6 +89,11 @@ begin
...
@@ -88,6 +89,11 @@ begin
end
;
end
;
end
;
end
;
function
TWebSocketService
.
Health
:
string
;
begin
Result
:=
'ok'
;
end
;
procedure
TWebSocketService
.
ProcessJsonMessage
(
const
AMsg
:
string
);
procedure
TWebSocketService
.
ProcessJsonMessage
(
const
AMsg
:
string
);
var
var
MsgDTO
:
TBaseRequest
;
MsgDTO
:
TBaseRequest
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment