Skip to content

Commit 177be60

Browse files
committed
Bumb nuget version.
Update release notes. Expose ProcessSync as public.
1 parent dd93eeb commit 177be60

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎Json-Rpc/AustinHarris.JsonRpc.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Company>Austin Harris</Company>
55
<Product>Json-Rpc.Net Core</Product>
66
<Description>Core functionality for JsonRpc.Net</Description>
7-
<VersionPrefix>1.2.2</VersionPrefix>
7+
<VersionPrefix>1.2.3</VersionPrefix>
88
<VersionSuffix>$(VersionSuffix)</VersionSuffix>
99
<Copyright>Austin Harris</Copyright>
1010
<PackageProjectUrl>https://github.com/Astn/JSON-RPC.NET</PackageProjectUrl>

‎Json-Rpc/AustinHarris.JsonRpc.nuspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>The fastest .Net JSON RPC Server</description>
1414
<summary>JSON-RPC.Net is a high performance Json-Rpc 2.0 server, leveraging the popular JSON.NET library. Easily create a JSON RPC server for your Angular javascript apps, also supports sockets and pipes, oh my!</summary>
15-
<releaseNotes>Named Parameters via attributes -rommar. Fix nuget dependency requirements -jbreens. Cleaner service registration -xmedeko</releaseNotes>
15+
<releaseNotes>Optional JsonSerializer Settings - @hovi. ProcessSync is now public - @astn</releaseNotes>
1616
<language>en-US</language>
1717
<tags>fast json rpc server socket javascript json-rpc.net json-rpc jsonrpc json.net web services webapi service angular server angularjs</tags>
1818
<dependencies>

‎Json-Rpc/Handler.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ private object CleanUpParameter(object p, SMDAdditionalParameters metaData)
492492

493493
private JsonRpcException PreProcess(JsonRequest request, object context)
494494
{
495-
return externalPreProcessingHandler == null ? null : externalPreProcessingHandler(request, context);
495+
return externalPreProcessingHandler?.Invoke(request, context);
496496
}
497497

498498
private JsonResponse PostProcess(JsonRequest request, JsonResponse response, object context)

‎Json-Rpc/JsonRpcProcessor.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public static Task<string> Process(string sessionId, string jsonRpc, object cont
4242
return Task<string>.Factory.StartNew((_) =>
4343
{
4444
var tuple = (Tuple<string, string, object, JsonSerializerSettings>)_;
45-
return ProcessInternal(tuple.Item1, tuple.Item2, tuple.Item3, tuple.Item4);
45+
return ProcessSync(tuple.Item1, tuple.Item2, tuple.Item3, tuple.Item4);
4646
}, new Tuple<string, string, object, JsonSerializerSettings>(sessionId, jsonRpc, context, settings));
4747
}
4848

49-
private static string ProcessInternal(string sessionId, string jsonRpc, object jsonRpcContext,
49+
public static string ProcessSync(string sessionId, string jsonRpc, object jsonRpcContext,
5050
JsonSerializerSettings settings = null)
5151
{
5252
var handler = Handler.GetSessionHandler(sessionId);

0 commit comments

Comments
 (0)