2017 © Pedro Peláez
 

library sse-client

Server Sent Event client implementation

image

obsh/sse-client

Server Sent Event client implementation

  • Thursday, October 29, 2015
  • by obsh
  • Repository
  • 2 Watchers
  • 6 Stars
  • 438 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

PHP SSE Client

(ported from Python SSE client: https://bitbucket.org/btubbs/sseclient/), (*1)

This is a PHP client library for iterating over http Server Sent Event (SSE) streams (also known as EventSource, after the name of the Javascript interface inside browsers)., (*2)

Example usage:, (*3)

$client = new SseClient\Client('https://eventsource.firebaseio-demo.com/.json');

// returns generator
$events = $client->getEvents();

// blocks until new event arrive
foreach ($events as $event) {
    print_r($event);
}

The Versions

29/10 2015

dev-master

9999999-dev

Server Sent Event client implementation

  Sources   Download

MIT

The Requires

 

The Development Requires

by oleksandr.bushkovskyi

29/10 2015

0.1.3

0.1.3.0

Server Sent Event client implementation

  Sources   Download

MIT

The Requires

 

The Development Requires

by oleksandr.bushkovskyi

29/10 2015

0.1.2

0.1.2.0

Server Sent Event client implementation

  Sources   Download

MIT

The Requires

 

The Development Requires

by oleksandr.bushkovskyi

29/10 2015

0.1.1

0.1.1.0

Server Sent Event client implementation

  Sources   Download

The Requires

 

The Development Requires

by oleksandr.bushkovskyi

29/10 2015

0.1.0

0.1.0.0

Server Sent Event client implementation

  Sources   Download

The Requires

 

The Development Requires

by oleksandr.bushkovskyi