Scroll to navigation

Chrome::DevToolsProtocol::Transport::Pipe::NetAsync(3pm) User Contributed Perl Documentation Chrome::DevToolsProtocol::Transport::Pipe::NetAsync(3pm)

NAME

Chrome::DevToolsProtocol::Transport::Pipe::NetAsync - EXPERIMENTAL Local pipe backend for Chrome communication

SYNOPSIS

    my $t = Chrome::DevToolsProtocol::Transport::Pipe::NetAsync->new;
    $t->connect( $handler, $got_endpoint, $logger)
    ->then(sub {
        my( $connection ) = @_;
        print "We are connected\n";
    });

DESCRIPTION

This is an experimental backend communicating with Chrome using a pipe of two file descriptors.

This requires Chrome v72+.

"$transport->sleep( $seconds )"

    $transport->sleep( 10 )->get; # wait for 10 seconds

Returns a Future that will be resolved in the number of seconds given.

SEE ALSO

The factory class for transports

Chrome::DevToolsProtocol::Transport::Pipe

REPOSITORY

The public repository of this module is <https://github.com/Corion/www-mechanize-chrome>.

SUPPORT

The public support forum of this module is <https://perlmonks.org/>.

BUG TRACKER

Please report bugs in this module via the Github bug queue at <https://github.com/Corion/WWW-Mechanize-Chrome/issues>

AUTHOR

Max Maischein "corion@cpan.org"

COPYRIGHT (c)

Copyright 2010-2024 by Max Maischein "corion@cpan.org".

LICENSE

This module is released under the same terms as Perl itself.

2026-02-25 perl v5.40.1