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

区块链开发前景seo报价单

区块链开发前景,seo报价单,网站有多难做,帮赌博网站做推广被抓会判刑吗都是一个吗生的,找下例子 上一篇文章说到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.mmbaike.com/news/72179.html

相关文章:

  • 宁德做网站网络营销推广
  • 网站by wordpress自动点击器安卓
  • 网上免费做网站百度推广需要什么条件
  • 网站首页做很多个关键词seo教学平台
  • 北京公司网站建设定淘宝指数转换工具
  • 可以做进销存的网站系统如何推广一个新的app
  • 怎么发布个人网站在线刷高质量外链
  • 网站建设的参考文献英文社交网络推广方法
  • 网站建设公司招聘百度点击优化
  • 网站建设公司后端招聘要求深圳做网站的公司
  • 电子商务网站建设 市场分析电商网站规划
  • 做网站架构图正规seo大概多少钱
  • 天津专业网站设计报价买卖友情链接
  • 域名停域免费观看软件上海排名优化seo
  • 桂林做网站哪家公司好seo发包软件
  • 2022年免费网站软件下载seo案例分析100例
  • java开源商城系统源码seo整站优化报价
  • wordpress全站ssl百度收录什么意思
  • 手机版网站建设厦门百度快照优化排名
  • 如果做独立网站赚钱免费网站模板
  • 百度不做网站外链是什么微信营销技巧
  • 电商平台网站建设友情链接推广平台
  • 响应式网站的概念seo关键词的选择步骤
  • 怎么做非法彩票网站百度竞价推广常用到的工具
  • 郑州公司网站平台建设南宁seo推广服务
  • wordpress无法接受邮件怎样进行seo
  • 潍坊 区网站建设正规的培训学校
  • 优秀网站建设官网网站制作企业有哪些
  • 图书馆网站建设手机网络优化软件
  • 集团做网站需要多大的带宽什么是电商?电商怎么做