Skip to content

MethodType

Defined in: src/types.ts:12

Whether an RPC method is request/response or streaming. Mirrors Python’s MethodType and is carried in the __describe__ payload.

STREAM: "stream";

Defined in: src/types.ts:16

Streamed batches — either a producer or an exchange stream.


UNARY: "unary";

Defined in: src/types.ts:14

Single request batch in, single result batch out.