2017 © Pedro Peláez
 

library phergie-keep-alive

Phergie plugin which monitors when the last activity on a connection was and if it exceeds a certain time limit the connection is closed and re-created

image

nfauchelle/phergie-keep-alive

Phergie plugin which monitors when the last activity on a connection was and if it exceeds a certain time limit the connection is closed and re-created

  • Wednesday, February 25, 2015
  • by nfauchelle
  • Repository
  • 2 Watchers
  • 2 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PhergieKeepAlive

Phergie plugin which monitors a connection for in-activity, and if the timeout is reached then it will attempt to reconnect., (*1)

Build Status, (*2)

Install

The recommended method of installation is through composer., (*3)

{
    "require": {
        "nfauchelle/phergie-keep-alive": "~1.0.0"
    }
}

or use the command below, it will automatically detect the latest version and bind it with ~., (*4)

composer require nfauchelle/phergie-keep-alive

See Phergie documentation for more information on installing and enabling plugins., (*5)

Configuration

new \Phergie\Irc\Plugin\React\KeepAlive\Plugin(array(
    // Seconds of inactivity before attmping reconnect
    'timeout' => 600,
    // Quit message on reconnect
    'quitMessage' => 'Ping timeout, reconnecting...'
))

Tests

To run the unit test suite:, (*6)

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the BSD License. See LICENSE., (*7)

The Versions

25/02 2015

dev-master

9999999-dev

Phergie plugin which monitors when the last activity on a connection was and if it exceeds a certain time limit the connection is closed and re-created

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie

25/02 2015

v1.0.0

1.0.0.0

Phergie plugin which monitors when the last activity on a connection was and if it exceeds a certain time limit the connection is closed and re-created

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie