当前位置: 首页 > news >正文

郑州哪家公司做网站网络营销具有什么特点

郑州哪家公司做网站,网络营销具有什么特点,工作箴言,山东做外贸网站的公司都是一个吗生的,找下例子 上一篇文章说到go实现的grpc方法已经实现了一个grpc的server端, 注意: 这两个项目的.proto文件应当是完全一致的,只是方法用各自的语言实现罢了 报错了: Caught error: gRPC Error (code: 12, codeName: UNIMPLEMENTED, message: grpc: Decompresso…

都是一个吗生的,找下例子

上一篇文章说到go实现的grpc方法已经实现了一个grpc的server端,

注意:

这两个项目的.proto文件应当是完全一致的,只是方法用各自的语言实现罢了

报错了:

Caught error: gRPC Error (code: 12, codeName: UNIMPLEMENTED, message: grpc: Decompressor is not installed for grpc-encoding "gzip", details: [], rawResponse: null, trailers: {})

dart客户端使用了gzip让我们去掉相对应的代码,现在代码如

// Copyright (c) 2018, the gRPC project authors. Please see the AUTHORS file
// for details. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License./// Dart implementation of the gRPC helloworld.Greeter client.
import 'package:grpc/grpc.dart';
import 'package:helloworld/src/generated/helloworld.pbgrpc.dart';Future<void> main(List<String> args) async {final channel = ClientChannel('localhost',port: 50051,options: ChannelOptions(credentials: ChannelCredentials.insecure(),// codecRegistry://     CodecRegistry(codecs: const [GzipCodec(), IdentityCodec()]),),);final stub = GreeterClient(channel);final name = args.isNotEmpty ? args[0] : 'world';try {final response = await stub.sayHello(HelloRequest()..name = name,// options: CallOptions(compression: const GzipCodec()),);print('Greeter client received: ${response.message}');} catch (e) {print('Caught error: $e');}await channel.shutdown();
}

 获取到了消息:

 dart bin/client.dart
Greeter client received: Hello world

http://www.zhongyajixie.com/news/26100.html

相关文章:

  • 做任务挣钱的网站商品营销推广的方法有哪些
  • 上海做网站yuanmus上海网络营销有限公司
  • 哪一些网站可以开户做百度广告百度在线人工客服
  • 网站英文域名怎么查sem和seo是什么职业
  • 找做网站页的在哪找武汉网站排名推广
  • 成都疫情紧急通知seo观察网
  • 汕头 做网站网站查询平台
  • 做企业网站的公司有哪些b2b平台排名
  • 做微信小程序的公司百度快照优化培训班
  • 济南好的网站建设公司哪家好百度推广手机客户端
  • 企业级网站开发技术电商运营推广的方式和渠道有哪些
  • 网站建设商业计划书范文河南制作网站
  • python不用框架做动态网站天津百度推广代理商
  • wordpress #长沙快速排名优化
  • wordpress菜单跳转龙斗seo博客
  • wordpress免费强大主题网站seo综合查询
  • 企业内部网站设计没经验怎么开广告公司
  • 武汉做网站好的公司什么是seo什么是sem
  • 做展厅 参考什么网站推广seo是什么意思
  • 网站建设seo规范如何做网络推广人员
  • 图书馆网站建设的意义关键字挖掘
  • 建设网站团队济南百度竞价开户
  • wordpress中文免费模板下载百度关键词优化企业
  • 长沙响应式网站建设山西网络推广
  • 自己做的网站怎么发布到百度seo综合查询 站长工具
  • 郑州 网站制作什么是seo优化推广
  • 北京旅游设计网站建设专注于网站营销服务
  • 怎么用php作动态网站开发石家庄做网站推广排名的公司
  • 免费做外贸的网站建设seo搜外
  • 网站怎样做301培训后的收获和感想