Module mz_environmentd::http::webhook

source ยท
Expand description

Helpers for handling events from a Webhook source.

Structsยง

  • BodyRow ๐Ÿ”’
    A Row that has the body of a request already packed into it.

Enumsยง

  • Errors we can encounter when appending data to a Webhook Source.

Functionsยง

  • append_webhook ๐Ÿ”’
    Append the provided body and headers to the webhook source identified via database, schema, and name.
  • filter_headers ๐Ÿ”’
  • pack_header ๐Ÿ”’
    Pack the headers of a request into a Row.
  • pack_rows ๐Ÿ”’
    Packs the body and headers of a webhook request into as many rows as necessary.
  • transform_body ๐Ÿ”’
    Transforms the body of a webhook request into a Vec<BodyRow>.