NAME
RPC::Lite::Session - Manages a client session. Used internally.
SYNOPSIS
use RPC::Lite::Session;
my $session = RPC::Lite::Session->new( $uniqueClientId, $transport, $sessionManager, $extraInfoHash );
my $request = $session->GetRequest();
DESCRIPTION
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:
- Around line 29:
You can't have =items (as at line 97) unless the first thing after the =over is an =item
=over without closing =back