Skip to content

Commit

Permalink
Added JSON-RPC Notification Support
Browse files Browse the repository at this point in the history
Added IMVCJSONRPCExecutor for a simpler use of JSON-RPC servers
  • Loading branch information
danieleteti committed May 16, 2018
1 parent 4f16d82 commit 34bc5e0
Show file tree
Hide file tree
Showing 55 changed files with 1,353 additions and 2,146 deletions.
2 changes: 1 addition & 1 deletion samples/CustomAuth/AuthHandlerU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2017 Daniele Teti and the DMVCFramework Team
// Copyright (c) 2010-2018 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
Expand Down
392 changes: 196 additions & 196 deletions samples/CustomAuth/CustomAuthClient.dproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion samples/CustomAuth/CustomAuthServer.dproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{0293A1B2-2793-41CE-9099-8B24A46AA8CF}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<MainSource>CustomAuthServer.dpr</MainSource>
<Base>True</Base>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{B180E3D7-5F42-49CE-84F1-042196300A37}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<MainSource>articles_crud_vcl_client.dpr</MainSource>
<Base>True</Base>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7B54055A-5749-4136-9FE2-35FDBEEA874C}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>VCL</FrameworkType>
<MainSource>AuthenticateAuthorize.dpr</MainSource>
<Base>True</Base>
Expand Down
2 changes: 1 addition & 1 deletion samples/basicdemo_server/BasicDemo.dproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{BCE38CEB-AE61-49C6-8C51-8D6776B45034}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>None</FrameworkType>
<MainSource>BasicDemo.dpr</MainSource>
<Base>True</Base>
Expand Down
2 changes: 1 addition & 1 deletion samples/customlogger/CustomLoggerSample.dproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{0FEB7B51-EA71-4055-9834-8C63B5F92D46}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>None</FrameworkType>
<MainSource>CustomLoggerSample.dpr</MainSource>
<Base>True</Base>
Expand Down
6 changes: 0 additions & 6 deletions samples/fileupload/FilesUploadDemo.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ uses
IdHTTPWebBrokerBridge,
Web.WebReq,
Web.WebBroker,

{$IFNDEF LINUX}

ReqMulti, // if compiler doesn't find this unit, update with the last update

{$ENDIF}

WebModuleUnit1 in 'WebModuleUnit1.pas' {WebModule1: TWebModule} ,
FileUploadControllerU in 'FileUploadControllerU.pas';

Expand Down
4 changes: 2 additions & 2 deletions samples/fileupload/FilesUploadDemo.dproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{28115991-DA41-4172-924A-7FCD5AC95F77}</ProjectGuid>
<ProjectVersion>18.2</ProjectVersion>
<ProjectVersion>18.4</ProjectVersion>
<FrameworkType>None</FrameworkType>
<MainSource>FilesUploadDemo.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<Platform Condition="'$(Platform)'==''">Linux64</Platform>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>129</TargetedPlatforms>
<AppType>Console</AppType>
</PropertyGroup>
Expand Down
48 changes: 40 additions & 8 deletions samples/jsonrpc/MainClientFormU.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,27 @@ object Form10: TForm10
TabOrder = 6
end
object dtNextMonday: TDateTimePicker
Left = 501
Top = 30
Left = 564
Top = 16
Width = 102
Height = 21
Date = 43018.469176562500000000
Time = 43018.469176562500000000
TabOrder = 7
end
object btnAddDay: TButton
Left = 609
Top = 30
Left = 672
Top = 14
Width = 128
Height = 25
Caption = 'Get Next Monday'
TabOrder = 8
OnClick = btnAddDayClick
end
object btnInvalid1: TButton
Left = 582
Left = 638
Top = 78
Width = 112
Width = 84
Height = 43
Caption = 'Passing VAR parameters'
Font.Charset = DEFAULT_CHARSET
Expand All @@ -114,9 +114,9 @@ object Form10: TForm10
OnClick = btnInvalid1Click
end
object btnInvalid2: TButton
Left = 700
Left = 728
Top = 78
Width = 112
Width = 84
Height = 43
Caption = 'Passing OUT parameters'
Font.Charset = DEFAULT_CHARSET
Expand All @@ -129,6 +129,38 @@ object Form10: TForm10
WordWrap = True
OnClick = btnInvalid2Click
end
object btnNotification: TButton
Left = 476
Top = 78
Width = 75
Height = 43
Caption = 'Send Notification'
Font.Charset = DEFAULT_CHARSET
Font.Color = clScrollBar
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 11
WordWrap = True
OnClick = btnNotificationClick
end
object btnInvalidMethod: TButton
Left = 557
Top = 78
Width = 75
Height = 43
Caption = 'Invalid Method'
Font.Charset = DEFAULT_CHARSET
Font.Color = clScrollBar
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 12
WordWrap = True
OnClick = btnInvalidMethodClick
end
end
object GroupBox2: TGroupBox
Left = 8
Expand Down
Loading

0 comments on commit 34bc5e0

Please sign in to comment.