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
7cacc435
Commit
7cacc435
authored
May 30, 2026
by
emsys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugging websocket
parent
07612752
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Ws.Server.Module.dfm
emiMobileServer/Source/Ws.Server.Module.dfm
+0
-1
Ws.Server.Module.pas
emiMobileServer/Source/Ws.Server.Module.pas
+2
-1
No files found.
emiMobileServer/Source/Ws.Server.Module.dfm
View file @
7cacc435
...
...
@@ -16,7 +16,6 @@ object WsServerModule: TWsServerModule
Left = 85
Top = 110
object XDataServer1WebSocket: TSparkleWebSocketMiddleware
Path = 'emimobile'
AllowedOrigins.Strings = (
'*')
end
...
...
emiMobileServer/Source/Ws.Server.Module.pas
View file @
7cacc435
...
...
@@ -52,6 +52,7 @@ uses
Common
.
Logging
,
Common
.
Middleware
.
Logging
,
Common
.
Config
,
Vcl
.
Forms
,
IniFiles
,
XData
.
Service
.
Common
,
Ws
.
ServiceImpl
;
{%CLASSGROUP 'Vcl.Controls.TControl'}
...
...
@@ -68,7 +69,7 @@ var
begin
RegisterServiceType
(
TWebSocketService
);
Logger
.
Log
(
1
,
Format
(
'Ws model "%s" registered TWebSocketService'
,
[
AModelName
]));
RegisterOpenApiService
;
//
RegisterOpenApiService;
Url
:=
ABaseUrl
;
if
not
Url
.
EndsWith
(
'/'
)
then
Url
:=
Url
+
'/'
;
...
...
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