MinknowApi::Notifications::NotificationsService::Service
Service is the generated abstract base class for server implementations. Subclass it and implement each RPC method, then register with GRPC::Server#handle.
Instance methods
create_notification(request : CreateNotificationRequest, ctx : GRPC::ServerContext) : CreateNotificationResponse
Sourcedispatch routes an incoming unary RPC call to the correct method implementation. Returns {response_body : Bytes, status : Status}.
dispatch_server_stream(method : String, body : Bytes, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status
dispatch_server_stream dispatches a server-streaming RPC. The transport passes a RawResponseStream; generated subclasses wrap it in a typed ResponseStream(T) before handing off to the user implementation.
mark_notifications_as_read(request : MarkNotificationsAsReadRequest, ctx : GRPC::ServerContext) : MarkNotificationsAsReadResponse
Sourceserver_streaming? returns true if method is a server-streaming RPC. Generated service base classes override this; the default is false (unary).
service_full_name
service_full_name returns the full gRPC service name (e.g. "helloworld.Greeter").
stream_notifications(request : StreamNotificationsRequest, writer : GRPC::ResponseStream(StreamNotificationsResponse), ctx : GRPC::ServerContext) : GRPC::Status
Source