openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 2.53 kB
JavaScript
import { i as isRequestBodyLimitError, o as readRequestBodyWithLimit, s as requestBodyErrorToText, t as DEFAULT_WEBHOOK_MAX_BODY_BYTES } from "../http-body-CgfQBa7S.mjs";
import { n as normalizePluginHttpPath } from "../http-path-utbm8n9N.mjs";
import { n as rawDataToString } from "../ws-BdD3UP1C.mjs";
import { t as getWebhookLegacyListener } from "../http-legacy-listener-C-rWca_U.mjs";
import { a as WEBHOOK_RATE_LIMIT_DEFAULTS, c as createWebhookAnomalyTracker, i as WEBHOOK_ANOMALY_STATUS_CODES, n as resolveRequestClientIp, o as createBoundedCounter, r as WEBHOOK_ANOMALY_COUNTER_DEFAULTS, s as createFixedWindowRateLimiter, t as createAuthRateLimiter } from "../webhook-ingress-N_mt5VCt.mjs";
import { a as createWebhookInFlightLimiter, c as readWebhookBodyOrReject, i as beginWebhookRequestPipelineOrReject, n as WEBHOOK_IN_FLIGHT_DEFAULTS, o as isJsonContentType, r as applyBasicWebhookRequestGuards, s as readJsonWebhookBodyOrReject, t as WEBHOOK_BODY_READ_DEFAULTS } from "../webhook-request-guards-o9Ex3xOU.mjs";
import { r as registerPluginHttpRoute } from "../http-registry-BXXFI8rp.mjs";
import { c as resolveWebhookPath, d as resolveWebhookTargets, f as withResolvedWebhookRequestPipeline, i as registerWebhookTargetWithPluginRoute, l as resolveWebhookTargetWithAuthOrReject, n as normalizeWebhookPath, o as resolveSingleWebhookTarget, r as registerWebhookTarget, s as resolveSingleWebhookTargetAsync, t as canonicalizeWebhookRouteKey, u as resolveWebhookTargetWithAuthOrRejectSync } from "../webhook-targets-BCCf-Bkh.mjs";
export { DEFAULT_WEBHOOK_MAX_BODY_BYTES, WEBHOOK_ANOMALY_COUNTER_DEFAULTS, WEBHOOK_ANOMALY_STATUS_CODES, WEBHOOK_BODY_READ_DEFAULTS, WEBHOOK_IN_FLIGHT_DEFAULTS, WEBHOOK_RATE_LIMIT_DEFAULTS, applyBasicWebhookRequestGuards, beginWebhookRequestPipelineOrReject, canonicalizeWebhookRouteKey, createAuthRateLimiter, createBoundedCounter, createFixedWindowRateLimiter, createWebhookAnomalyTracker, createWebhookInFlightLimiter, getWebhookLegacyListener, isJsonContentType, isRequestBodyLimitError, normalizePluginHttpPath, normalizeWebhookPath, rawDataToString, readJsonWebhookBodyOrReject, readRequestBodyWithLimit, readWebhookBodyOrReject, registerPluginHttpRoute, registerWebhookTarget, registerWebhookTargetWithPluginRoute, requestBodyErrorToText, resolveRequestClientIp, resolveSingleWebhookTarget, resolveSingleWebhookTargetAsync, resolveWebhookPath, resolveWebhookTargetWithAuthOrReject, resolveWebhookTargetWithAuthOrRejectSync, resolveWebhookTargets, withResolvedWebhookRequestPipeline };