/
githubmirror
/
traefik
Обзор
Документация
Войти
/
githubmirror
/
traefik
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
integration/helloworld/helloworld.proto
32 строки
673 B
SALLEYRON Julien
Stream mode when http2
24 окт 2017, 15:38
24 окт 2017, 15:38
7400c39
Код
Авторство
О чём код?
syntax = "proto3"; option java_multiple_files = true; option java_package = "io.grpc.examples.helloworld"; option java_outer_classname = "HelloWorldProto"; package helloworld; // The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (HelloReply) {}; rpc StreamExample (StreamExampleRequest) returns (stream StreamExampleReply) {}; } // The request message containing the user's name. message HelloRequest { string name = 1; } // The response message containing the greetings message HelloReply { string message = 1; } message StreamExampleRequest {} message StreamExampleReply { string data = 1; }