AnyEvent-Campfire-Stream

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  version: 1.4
name: AnyEvent-Campfire-Stream
requires:
  AnyEvent: 0
  AnyEvent::HTTP: 0
  JSON::XS: 0
  MIME::Base64: 0
  Moose: 0
  Try::Tiny: 0
  URI: 0
  namespace::autoclean: 0
version: 0.0.3

Makefile.PL  view on Meta::CPAN

  "LICENSE" => "perl",
  "NAME" => "AnyEvent::Campfire::Stream",
  "PREREQ_PM" => {
    "AnyEvent" => 0,
    "AnyEvent::HTTP" => 0,
    "JSON::XS" => 0,
    "MIME::Base64" => 0,
    "Moose" => 0,
    "Try::Tiny" => 0,
    "URI" => 0,
    "namespace::autoclean" => 0
  },
  "VERSION" => "0.0.3",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};

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

package AnyEvent::Campfire;
{
  $AnyEvent::Campfire::VERSION = '0.0.3';
}

# Abstract: Base class of `AnyEvent::Campfire::*`
use Moose;
use namespace::autoclean;

use MIME::Base64;

has 'rooms' => ( is => 'rw' );

has 'token' => (
    is  => 'rw',
    isa => 'Str',
);

lib/AnyEvent/Campfire/Stream.pm  view on Meta::CPAN

package AnyEvent::Campfire::Stream;
{
  $AnyEvent::Campfire::Stream::VERSION = '0.0.3';
}

# Abstract: Receive Campfire streaming API in an event loop
use Moose;
use namespace::autoclean;

extends 'AnyEvent::Campfire';

use AnyEvent;
use AnyEvent::HTTP;
use URI;
use JSON::XS;
use Try::Tiny;

sub BUILD {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.984 second using v1.00-cache-2.02-grep-82fe00e-cpan-c98054f2a92 )