AnyEvent-MockTCPServer

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


    Internal method called by the action methods when the server should
    proceed with the next action. Must be called by any action methods
    written in subclasses of this class.

ACTION METHOD ARGUMENTS

    These methods (and methods added by derived classes) can be used in
    action lists passed via the constructor connections parameter. The
    $handle and $actions arguments should be omitted from the action lists
    as they are supplied by the framework.

    Sends the payload, $send, to the client.

    Sends the payload, $send, to the client after removing whitespace and
    packing it with 'H*'. This method is equivalent to the "send($handle,
    $actions, $send, $desc)" method when passed the packed string but debug
    messages contain the unpacked strings are easier to read.

    Waits for the data $expect from the client.

lib/AnyEvent/MockTCPServer.pm  view on Meta::CPAN


Internal method called by the action methods when the server should
proceed with the next action.  Must be called by any action methods
written in subclasses of this class.

=head1 ACTION METHOD ARGUMENTS

These methods (and methods added by derived classes) can be used in
action lists passed via the constructor C<connections> parameter.  The
C<$handle> and C<$actions> arguments should be omitted from the action
lists as they are supplied by the framework.

=head1 ACTION METHODS

=head2 C<send($handle, $actions, $send, $desc)>

Sends the payload, C<$send>, to the client.

=head2 C<packsend($handle, $actions, $send, $desc)>

Sends the payload, C<$send>, to the client after removing whitespace



( run in 0.759 second using v1.01-cache-2.11-cpan-df04353d9ac )