gpt4 book ai didi

c - 如何在 C 中序列化和反序列化 Hessian 调用

转载 作者:太空宇宙 更新时间:2023-11-04 03:52:53 29 4
gpt4 key购买 nike

为了在 Java 中开发 Hessian 客户端,我们可以使用 hessian 客户端库 (hessian-3.x.x.jar) 轻松调用 Hessian 服务

String url = "http://localhost:8080/communication-service";
HessianProxyFactory factory = new HessianProxyFactory();
final CommunicationService basic = (CommunicationService) factory.create(CommunicationService.class, url);
...
resultLabel.setText(basic.communicate(field.getText()));

用C开发Hessian客户端,如何序列化和反序列化hessian post和response,有没有可用的开源库?

最佳答案

我建议您使用 tpl序列化库。

关于c - 如何在 C 中序列化和反序列化 Hessian 调用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19374329/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com