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
73b3aa5e
Commit
73b3aa5e
authored
Jun 03, 2026
by
Michael Brachmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging websockets
parent
7975a8ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
Ws.Server.Module.dfm
emiMobileServer/Source/Ws.Server.Module.dfm
+1
-0
Ws.Server.Module.pas
emiMobileServer/Source/Ws.Server.Module.pas
+0
-8
Ws.ServiceImpl.pas
emiMobileServer/Source/Ws.ServiceImpl.pas
+4
-0
No files found.
emiMobileServer/Source/Ws.Server.Module.dfm
View file @
73b3aa5e
...
...
@@ -7,6 +7,7 @@ object WsServerModule: TWsServerModule
end
object XDataServer1: TXDataServer
Dispatcher = SparkleHttpSysDispatcher3
ModelName = 'WsApi'
EntitySetPermissions = <>
SwaggerOptions.Enabled = True
SwaggerUIOptions.Enabled = True
...
...
emiMobileServer/Source/Ws.Server.Module.pas
View file @
73b3aa5e
...
...
@@ -72,14 +72,6 @@ begin
Url
:=
Url
+
'/'
;
Url
:=
Url
+
SERVER_PATH_SEGMENT
;
XDataServer1
.
BaseUrl
:=
Url
;
Logger
.
Log
(
1
,
'WS-DIAG: about to RegisterServiceType(TWebSocketService)'
);
try
RegisterServiceType
(
TWebSocketService
);
Logger
.
Log
(
1
,
'WS-DIAG: RegisterServiceType succeeded'
);
except
on
E
:
Exception
do
Logger
.
Log
(
1
,
'WS-DIAG: RegisterServiceType FAILED: '
+
E
.
ClassName
+
': '
+
E
.
Message
);
end
;
Logger
.
Log
(
1
,
'WS-DIAG: about to set ModelName to ['
+
AModelName
+
']'
);
try
XDataServer1
.
ModelName
:=
AModelName
;
...
...
emiMobileServer/Source/Ws.ServiceImpl.pas
View file @
73b3aa5e
...
...
@@ -28,4 +28,8 @@ begin
Result
:=
nil
;
end
;
initialization
RegisterServiceType
(
TWebSocketService
);
end
.
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