NAME

Echo::StreamServer::MuxRequest - Items MUX API Utilities

SYNOPSIS

use Echo::StreamServer::MuxRequest;
use Echo::StreamServer::Items;

# Create a MuxRequest objects list.
my $count = new Echo::StreamServer::MuxRequest($eql_str, 'count');
my $search = new Echo::StreamServer::MuxRequest($eql_str, 'search');
my @mux_requests = ($count, $search);

# Send @mux_requests to Echo.
my $client = new Echo::StreamServer::Items();
$client->mux(@mux_requests);

DESCRIPTION

The Items MUX API allows a single API call to multiplex several requests. The multiplexed requests are executed concurrently and independently by the Echo server.

The Echo::StreamServer::MuxRequest class builds one multiplexed request. This package provides utilities to the Items API, Echo::StreamServer::Items, method mux().

SEE ALSO

Echo::StreamServer::Items

AUTHOR

Andrew Droffner, <adroffne@advance.net>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Andrew Droffner

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.