Skip to main content

A Wishbone output module to serve event data as server sent events.

Project description

          __       __    __
.--.--.--|__.-----|  |--|  |--.-----.-----.-----.
|  |  |  |  |__ --|     |  _  |  _  |     |  -__|
|________|__|_____|__|__|_____|_____|__|__|_____|
                                   version 2.1.2

Build composable event pipeline servers with minimal effort.


===================
wishbone.output.sse
===================

Version: 1.0.0

Serve event data as server sent events.
---------------------------------------


    Serve event data as server sent events.

    When the event header contains:

    If nobody is consuming events then they're lost.
    If <show_last> is set to True, then the last known value
    can be consumed by the client.

    Parameters:

        - selection(str)("@data")
           |  The part of the event to submit externally.
           |  Use an empty string to refer to the complete event.

        - bind(string)("0.0.0.0")
           |  The address to bind to.

        - port(int)(19283)
           |  The port to bind to.

        - show_last(bool)(False)
           |  If true submits the last known value to
           |  a new connection.

        - keepalive(bool)(False)
           |  If true sends a keepalive message at
           |  <keepalive_interval> seconds.

        - keepalive_interval(int)(False)
           |  The time in seconds to send keep-alive
           |  messages to the client.

        - destination(str)("")*
           |  The endpoint from which the event can be consumed.


    Queues:

        - inbox
           |  Incoming events submitted to the outside.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wishbone_output_sse-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file wishbone_output_sse-1.1.0.tar.gz.

File metadata

File hashes

Hashes for wishbone_output_sse-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0b7bedf3099f8bc89c8f3e65b3f7100ff5efdc707fbe85490ea038300fe68cef
MD5 5a73eb90fed9c8b394491764ec6e2a88
BLAKE2b-256 7313973dd1fcb346190316f393abc068aff6663c70a9975f3082c357fd4f8650

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page