-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathservice-example.server.ts
More file actions
29 lines (29 loc) · 1.24 KB
/
service-example.server.ts
File metadata and controls
29 lines (29 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// @generated by protobuf-ts 2.11.1 with parameter server_generic,client_none,optimize_code_size
// @generated from protobuf file "service-example.proto" (package "spec", syntax proto3)
// tslint:disable
import { RpcOutputStream } from "@protobuf-ts/runtime-rpc";
import { RpcInputStream } from "@protobuf-ts/runtime-rpc";
import { ExampleResponse } from "./service-example";
import { ExampleRequest } from "./service-example";
import { ServerCallContext } from "@protobuf-ts/runtime-rpc";
/**
* @generated from protobuf service spec.ExampleService
*/
export interface IExampleService<T = ServerCallContext> {
/**
* @generated from protobuf rpc: Unary
*/
unary(request: ExampleRequest, context: T): Promise<ExampleResponse>;
/**
* @generated from protobuf rpc: ServerStream
*/
serverStream(request: ExampleRequest, responses: RpcInputStream<ExampleResponse>, context: T): Promise<void>;
/**
* @generated from protobuf rpc: ClientStream
*/
clientStream(requests: RpcOutputStream<ExampleRequest>, context: T): Promise<ExampleResponse>;
/**
* @generated from protobuf rpc: Bidi
*/
bidi(requests: RpcOutputStream<ExampleRequest>, responses: RpcInputStream<ExampleResponse>, context: T): Promise<void>;
}