更新:尝试更新示例Demo引用

This commit is contained in:
若汝棋茗
2024-11-13 20:20:49 +08:00
parent b1c7451517
commit 57e0a3da3b
106 changed files with 285 additions and 291 deletions

View File

@@ -12,6 +12,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="TouchSocket.Dmtp" Version="2.1.10" />
<PackageReference Include="TouchSocket.Dmtp" Version="3.0.0-beta.17" />
</ItemGroup>
</Project>

View File

@@ -214,7 +214,7 @@ namespace ClientConsoleApp
this.m_logger = logger;
}
[DmtpRpc(true)]//使用函数名直接调用
[DmtpRpc(MethodInvoke = true)]//使用函数名直接调用
public bool Notice(string msg)
{
this.m_logger.Info(msg);