Group
Extension

Matches 3

RPC-Switch-Client-Tiny ( B/BD/BDZ/RPC-Switch-Client-Tiny-1.67.tar.gz, BDZ, 2023; MetaCPAN )
RPC-Switch-Client-Tiny/lib/RPC/Switch/Client/Tiny.pm ( view source; MetaCPAN )
# Lightweight client for the RPC-Switch json-rpc request multiplexer
#
# see: RPC::Switch: https://github.com/a6502/rpc-switch 
#      RPC::Switch::Client: https://metacpan.org/pod/RPC::Switch::Client

#
package RPC::Switch::Client::Tiny;

use strict;
use warnings;
use Carp 'croak';
use JSON;
use IO::Select;
use IO::Socket::SSL;
use Time::HiRes qw(time);
use RPC::Switch::Client::Tiny::Error;
use RP
ert
	} else {
		$self->{auth_method} = 'password' unless exists $self->{auth_method};
	}
	$self->{json_utf8} = $self->{client_encoding_utf8} ? {} : {utf8 => 1};
	return $self;
}

sub rpc_error {
	retu
RPC-Switch-Client-Tiny ( B/BD/BDZ/RPC-Switch-Client-Tiny-1.67.tar.gz, BDZ, 2023; MetaCPAN )
RPC-Switch-Client-Tiny/lib/RPC/Switch/Client/Tiny/Async.pm ( view source; MetaCPAN )
tch::Client::Tiny::Async;

  sub trace_cb {
	my ($type, $msg) = @_;
	printf "%s: %s\n", $type, to_json($msg, {pretty => 0, canonical => 1});
  }

  my $async = RPC::Switch::Client::Tiny::Async->new(tr
RPC-Switch-Client-Tiny ( B/BD/BDZ/RPC-Switch-Client-Tiny-1.67.tar.gz, BDZ, 2023; MetaCPAN )
RPC-Switch-Client-Tiny/lib/RPC/Switch/Client/Tiny/SessionCache.pm ( view source; MetaCPAN )
ient::Tiny::SessionCache;

  sub trace_cb {
	my ($type, $msg) = @_;
	printf "%s: %s\n", $type, to_json($msg, {pretty => 0, canonical => 1});
  }

  my $cache = RPC::Switch::Client::Tiny::SessionCache-

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.