grpcdc/server library
Classes
- Method
- One entry of a ServiceDesc.
- RequestStream
- Reads request messages of one inbound call.
- Server
- Server: dispatches inbound calls to registered methods.
- ServiceDesc
- Describes a service for Server.registerService.
Typedefs
-
MethodHandler
= Future<
void> Function(CallContext ctx, RequestStream reqs, ServerSink sink) - Implements one method against raw payloads; stubs adapt it.
-
ServerSink
= void Function(List<
int> payload) - Sends response payloads of one inbound call.