class GRPC::Health::Service

Overview

Built-in standard health checking service. State is owned by Registry/Reporter; Service only serves RPCs.

Defined in:

grpc/health.cr

Constant Summary

FILE_DESCRIPTOR_PROTO_BYTES = ::Grpc::Health::V1::Health::FILE_DESCRIPTOR_PROTO_BYTES
SERVICE_FULL_NAME = ::Grpc::Health::V1::Health::FULL_NAME

Constructors

Instance Method Summary

Instance methods inherited from class Grpc::Health::V1::Health::Service

check(request : HealthCheckRequest, ctx : GRPC::ServerContext) : HealthCheckResponse check, dispatch(method : String, body : Bytes, ctx : GRPC::ServerContext) : Tuple(Bytes, GRPC::Status) dispatch, dispatch_server_stream(method : String, body : Bytes, ctx : GRPC::ServerContext, writer : GRPC::RawResponseStream) : GRPC::Status dispatch_server_stream, list(request : HealthListRequest, ctx : GRPC::ServerContext) : HealthListResponse list, server_streaming?(method : String) : Bool server_streaming?, service_full_name : String service_full_name, watch(request : HealthCheckRequest, writer : GRPC::ResponseStream(HealthCheckResponse), ctx : GRPC::ServerContext) : GRPC::Status watch

Instance methods inherited from class GRPC::Service

bidi_streaming?(method : String) : Bool bidi_streaming?, client_streaming?(method : String) : Bool client_streaming?, dispatch(method : String, request_body : Bytes, ctx : ServerContext) : Tuple(Bytes, Status) dispatch, dispatch_bidi_stream(method : String, requests : RawRequestStream, ctx : ServerContext, writer : RawResponseStream) : Status dispatch_bidi_stream, dispatch_client_stream(method : String, requests : RawRequestStream, ctx : ServerContext) : Tuple(Bytes, Status) dispatch_client_stream, dispatch_server_stream(method : String, request_body : Bytes, ctx : ServerContext, writer : RawResponseStream) : Status dispatch_server_stream, server_streaming?(method : String) : Bool server_streaming?, service_full_name : String service_full_name

Constructor Detail

def self.new(default_status : Grpc::Health::V1::HealthCheckResponse::ServingStatus = ::Grpc::Health::V1::HealthCheckResponse::ServingStatus::SERVING) #

[View source]

Instance Method Detail


[View source]

[View source]
def reporter : Reporter #

[View source]

[View source]