class MinknowApi::Notifications::NotificationsService::Client

Overview

Client is the generated type-safe client stub. Create one per GRPC::Channel and reuse across calls.

Defined in:

generated/minknow_api/notifications.grpc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(channel : GRPC::Channel) #

[View source]

Instance Method Detail

def create_notification(request : MinknowApi::Notifications::CreateNotificationRequest, ctx : GRPC::ClientContext = GRPC::ClientContext.new) : MinknowApi::Notifications::CreateNotificationResponse #

[View source]
def create_notification_response(request : MinknowApi::Notifications::CreateNotificationRequest, ctx : GRPC::ClientContext = GRPC::ClientContext.new) : GRPC::UnaryResponse(MinknowApi::Notifications::CreateNotificationResponse) #

[View source]
def mark_notifications_as_read(request : MinknowApi::Notifications::MarkNotificationsAsReadRequest, ctx : GRPC::ClientContext = GRPC::ClientContext.new) : MinknowApi::Notifications::MarkNotificationsAsReadResponse #

[View source]
def mark_notifications_as_read_response(request : MinknowApi::Notifications::MarkNotificationsAsReadRequest, ctx : GRPC::ClientContext = GRPC::ClientContext.new) : GRPC::UnaryResponse(MinknowApi::Notifications::MarkNotificationsAsReadResponse) #

[View source]
def stream_notifications(request : MinknowApi::Notifications::StreamNotificationsRequest, ctx : GRPC::ClientContext = GRPC::ClientContext.new) : GRPC::ServerStream(MinknowApi::Notifications::StreamNotificationsResponse) #

[View source]