Skip to main content

A Wishbone input module to receive events over HTTP.

Project description

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

Build composable event pipeline servers with minimal effort.


=========================
wishbone.input.httpserver
=========================

Version: 1.0.0

Receive events over HTTP.
-------------------------


    Creates an HTTP server to which events can be submitted.


    Parameters:

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

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

        - keyfile(str)(None)
           |  When SSL is required, the location of the keyfile to use.

        - certfile(str)(None)
           |  When SSL is required, the location of the certfile to use.

        - ca_certs(str)(None)
            |  When SSL is required, the location of the ca certs to use.

        - delimiter(str)(None)
           |  The delimiter which separates multiple
           |  messages in a stream of data.

        - poolsize(int)(1000)
            |  The connection pool size.

        - so_reuseport(bool)(False)
            |  Enables socket option SO_REUSEPORT.
            |  See https://lwn.net/Articles/542629/
            |  Required when running multiple Wishbone instances.

        - response(str)("ok")*
            |  The value of the response.  Can be a lookup function.
            |  This value is also stored under @tmp.<module>.response


    Queues:

        - outbox
           |  Incoming events submitted to /.


    When more queues are connected to this module instance, they are
    automatically mapped to the URL resource.

    For example http://localhost:10080/fubar is mapped to the <fubar> queue.
    The root resource "/" is mapped the <outbox> queue.

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_input_httpserver-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file wishbone_input_httpserver-1.0.0.tar.gz.

File metadata

File hashes

Hashes for wishbone_input_httpserver-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ac81775f1f1984412e544e5ca5672f39dc1fbea2b7dbad435454d70f7d8bcd20
MD5 6648b78f01ab954314bb7917dbf85a07
BLAKE2b-256 19f4c20dd34d8d31fff7960aaf4d2a5fb137aa3625e6c2c1288b006faee4679e

See more details on using hashes here.

Supported by

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