Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

simple example of an SSE subscription endpoint using PHP and POSIX signals

Notifications You must be signed in to change notification settings

jkoop/php-posix-signal-sse-example

Repository files navigation

PHP POSIX Signal SSE Example

This is a simple example of an SSE subscription endpoint using PHP and POSIX signals. The example scenario is a very simple chat client.

Notable features include:

  • The PHP script uses POSIX signals to trigger the transmission of new messages.
    • This is a type of non-busy waiting, which is good for performance.

Requirements

  • POSIX-compliant operating system (Linux, macOS, etc.)

About

simple example of an SSE subscription endpoint using PHP and POSIX signals

Topics

Resources

Stars

Watchers

Forks