Webhooks.send.in: def of bend-kit-webhooks@0.11.0.1 Import: import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks Lines 479-486 of bend-kit-webhooks@0.11.0.1/webhooks.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-webhooks@0.11.0.1/webhooks.bend&start_line=479&end_line=486 import Base import bend-kit-time@0.3.0.0/time.bend as Time import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpin import bend-kit-retry@0.2.0.0/retry.bend as Retry import bend-kit-http@0.38.1.1/http.bend as Http # One event and one signature per delivery, inside a caller's retry layer. Every attempt takes from b and # reuses this event ID, timestamp, headers, and raw body; the client's retry setting caps this delivery. # The budget left comes back: pass it to the next delivery of the same operation. def send.in(c: Hairpin.Client, b: Retry.Budget, url: String, id: String, secret: String, body: Bytes.Bytes) -> IO(Hairpin.Client & Retry.Budget & Result<&1, &1, SendErr, Http.Res>): do IO>: now : Time.Instant <- Time.now() send.at(c, b, url, id, secret, body, now) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-hairpin@0.13.0.1/hairpin.bend&name=Client https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Res https://jend.leeeet.dev/definition.txt?path=bend-kit-retry@0.3.0.0/retry.bend&name=Budget https://jend.leeeet.dev/definition.txt?path=bend-kit-time@0.3.0.0/time.bend&name=Instant https://jend.leeeet.dev/definition.txt?path=bend-kit-time@0.3.0.0/time.bend&name=now https://jend.leeeet.dev/definition.txt?path=bend-kit-webhooks@0.11.0.1/webhooks.bend&name=SendErr https://jend.leeeet.dev/definition.txt?path=bend-kit-webhooks@0.11.0.1/webhooks.bend&name=send.at