RPC::Lite::Session - Manages a client session. Used internally.
use RPC::Lite::Session; my $session = RPC::Lite::Session->new( $uniqueClientId, $transport, $sessionManager, $extraInfoHash ); my $request = $session->GetRequest();
RPC::Lite::Session implements a session for managing clients which are connected to an RPC::Lite::Server. Sessions handle receiving requests and sending responses to clients. Sessions store information about the connection so that multiple transports and serializers can be supported by a single server.
GetRequest()
Returns an RPC::Lite::Request object or undef if there is an error (such as the client being disconnected).
Write( $data )
Serializes (using this particular client's serializer preference) and writes the data referenced by $data to the client.
1 POD Error
The following errors were encountered while parsing the POD:
You can't have =items (as at line 97) unless the first thing after the =over is an =item
=over without closing =back
To install RPC::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPC::Lite
CPAN shell
perl -MCPAN -e shell install RPC::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.