Grpc-XS
view release on metacpan or search on metacpan
lib/Grpc/Client/AbstractCall.pm view on Meta::CPAN
return $self;
}
## @return The metadata sent by the server.
sub getMetadata {
my $self = shift;
return $self->{_metadata};
}
## @return string The URI of the endpoint.
sub getPeer {
my $self = shift;
return $self->{_call}->getPeer();
}
## Cancels the call.
sub cancel {
my $self = shift;
lib/Grpc/Client/BaseStub.pm view on Meta::CPAN
'_primary_user_agent' => $primary_user_agent,
'_credentials' => $credentials,
'_channel' => $channel,
'_timeout' => $timeout,
};
bless $self,$proto;
return $self;
}
## return string The URI of the endpoint.
sub getTarget {
my $self = shift;
return $self->{_channel}->getTarget();
}
## $try_to_connect bool
## return int The grpc connectivity state
sub getConnectivityState {
( run in 1.677 second using v1.01-cache-2.11-cpan-2b1a40005be )