@anhdhbn/9router 0.5.116 → 0.5.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -47
- package/app/.next-cli-build/BUILD_ID +1 -1
- package/app/.next-cli-build/app-path-routes-manifest.json +15 -15
- package/app/.next-cli-build/build-manifest.json +2 -2
- package/app/.next-cli-build/prerender-manifest.json +6 -6
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +12 -12
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_global-error.html +1 -1
- package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
- package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/_not-found.html +1 -1
- package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
- package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
- package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
- package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
- package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
- package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -1
- package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
- package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
- package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
- package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +4 -4
- package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
- package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
- package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
- package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page.js +1 -1
- package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/callback.html +1 -1
- package/app/.next-cli-build/server/app/callback.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
- package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
- package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
- package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
- package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/dashboard.html +1 -1
- package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/index.html +1 -1
- package/app/.next-cli-build/server/app/index.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing/page.js +1 -1
- package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/landing.html +1 -1
- package/app/.next-cli-build/server/app/landing.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login/page.js +1 -1
- package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app/login.html +1 -1
- package/app/.next-cli-build/server/app/login.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
- package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
- package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page.js +1 -1
- package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
- package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/app-paths-manifest.json +15 -15
- package/app/.next-cli-build/server/chunks/1051.js +1 -1
- package/app/.next-cli-build/server/chunks/{9999.js → 1297.js} +2 -2
- package/app/.next-cli-build/server/chunks/1350.js +1 -1
- package/app/.next-cli-build/server/chunks/{4597.js → 1568.js} +1 -1
- package/app/.next-cli-build/server/chunks/1757.js +1 -1
- package/app/.next-cli-build/server/chunks/24.js +1 -1
- package/app/.next-cli-build/server/chunks/2840.js +1 -0
- package/app/.next-cli-build/server/chunks/3225.js +1 -1
- package/app/.next-cli-build/server/chunks/3697.js +1 -1
- package/app/.next-cli-build/server/chunks/3885.js +1 -1
- package/app/.next-cli-build/server/chunks/3943.js +1 -1
- package/app/.next-cli-build/server/chunks/412.js +5 -5
- package/app/.next-cli-build/server/chunks/4123.js +1 -1
- package/app/.next-cli-build/server/chunks/4882.js +1 -1
- package/app/.next-cli-build/server/chunks/{3783.js → 5299.js} +4 -4
- package/app/.next-cli-build/server/chunks/5330.js +34 -34
- package/app/.next-cli-build/server/chunks/5485.js +1 -1
- package/app/.next-cli-build/server/chunks/5615.js +1 -1
- package/app/.next-cli-build/server/chunks/5932.js +1 -0
- package/app/.next-cli-build/server/chunks/6054.js +1 -1
- package/app/.next-cli-build/server/chunks/6070.js +1 -1
- package/app/.next-cli-build/server/chunks/615.js +1 -1
- package/app/.next-cli-build/server/chunks/6297.js +1 -0
- package/app/.next-cli-build/server/chunks/6513.js +1 -1
- package/app/.next-cli-build/server/chunks/6576.js +1 -0
- package/app/.next-cli-build/server/chunks/6690.js +1 -1
- package/app/.next-cli-build/server/chunks/6724.js +1 -1
- package/app/.next-cli-build/server/chunks/6763.js +1 -1
- package/app/.next-cli-build/server/chunks/7114.js +1 -1
- package/app/.next-cli-build/server/chunks/7187.js +1 -1
- package/app/.next-cli-build/server/chunks/7247.js +1 -1
- package/app/.next-cli-build/server/chunks/7373.js +1 -1
- package/app/.next-cli-build/server/chunks/7525.js +1 -1
- package/app/.next-cli-build/server/chunks/7552.js +1 -1
- package/app/.next-cli-build/server/chunks/7716.js +1 -1
- package/app/.next-cli-build/server/chunks/778.js +1 -1
- package/app/.next-cli-build/server/chunks/7843.js +51 -0
- package/app/.next-cli-build/server/chunks/8251.js +1 -1
- package/app/.next-cli-build/server/chunks/8402.js +1 -1
- package/app/.next-cli-build/server/chunks/8623.js +1 -1
- package/app/.next-cli-build/server/chunks/866.js +1 -0
- package/app/.next-cli-build/server/chunks/869.js +1 -1
- package/app/.next-cli-build/server/chunks/8895.js +3 -3
- package/app/.next-cli-build/server/chunks/8896.js +1 -1
- package/app/.next-cli-build/server/chunks/8920.js +1 -1
- package/app/.next-cli-build/server/chunks/8994.js +1 -1
- package/app/.next-cli-build/server/chunks/9198.js +1 -0
- package/app/.next-cli-build/server/chunks/9609.js +1 -1
- package/app/.next-cli-build/server/chunks/9927.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js +1 -1
- package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
- package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
- package/app/.next-cli-build/server/middleware.js +3 -3
- package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
- package/app/.next-cli-build/server/pages/404.html +1 -1
- package/app/.next-cli-build/server/pages/500.html +1 -1
- package/app/.next-cli-build/server/preview-props.json +3 -3
- package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
- package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
- package/app/.next-cli-build/static/chunks/1321-2fde166305caeddb.js +1 -0
- package/app/.next-cli-build/static/chunks/5497-832391bf809808e3.js +7 -0
- package/app/.next-cli-build/static/chunks/{9134-dce513bebf49f409.js → 761-32ad2b1ee5ca216d.js} +10 -10
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-a1c51b0c7ad758ad.js → page-6abc904471ca5d9e.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-407f76834b37cd6c.js → page-1f2d3a8531261f5a.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-a09d4b437dec0273.js → page-624cd614b7bc1f8c.js} +11 -11
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-f9f9e895a365e8d3.js → page-9ee6ec1d1ae265b8.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-efdb4d5aacfda8a6.js +27 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-371203e00dbb386a.js +4 -0
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-cb6752cc71bde85f.js → page-98e943d2e0230bb1.js} +1 -1
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-9121f5a9bc6ae4d6.js +1 -0
- package/app/node_modules/undici/README.md +29 -116
- package/app/node_modules/undici/docs/docs/api/Agent.md +42 -249
- package/app/node_modules/undici/docs/docs/api/BalancedPool.md +48 -246
- package/app/node_modules/undici/docs/docs/api/CacheStorage.md +13 -171
- package/app/node_modules/undici/docs/docs/api/CacheStore.md +98 -309
- package/app/node_modules/undici/docs/docs/api/Client.md +164 -412
- package/app/node_modules/undici/docs/docs/api/ClientStats.md +14 -80
- package/app/node_modules/undici/docs/docs/api/Connector.md +35 -118
- package/app/node_modules/undici/docs/docs/api/ContentType.md +25 -65
- package/app/node_modules/undici/docs/docs/api/Cookies.md +71 -122
- package/app/node_modules/undici/docs/docs/api/Debug.md +18 -34
- package/app/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +167 -368
- package/app/node_modules/undici/docs/docs/api/Dispatcher.md +1056 -505
- package/app/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +93 -105
- package/app/node_modules/undici/docs/docs/api/Errors.md +28 -603
- package/app/node_modules/undici/docs/docs/api/EventSource.md +13 -326
- package/app/node_modules/undici/docs/docs/api/Fetch.md +30 -691
- package/app/node_modules/undici/docs/docs/api/GlobalInstallation.md +96 -78
- package/app/node_modules/undici/docs/docs/api/H2CClient.md +176 -299
- package/app/node_modules/undici/docs/docs/api/MockAgent.md +314 -333
- package/app/node_modules/undici/docs/docs/api/MockCallHistory.md +98 -272
- package/app/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +26 -189
- package/app/node_modules/undici/docs/docs/api/MockClient.md +33 -151
- package/app/node_modules/undici/docs/docs/api/MockErrors.md +5 -56
- package/app/node_modules/undici/docs/docs/api/MockPool.md +258 -321
- package/app/node_modules/undici/docs/docs/api/Pool.md +41 -235
- package/app/node_modules/undici/docs/docs/api/PoolStats.md +13 -119
- package/app/node_modules/undici/docs/docs/api/ProxyAgent.md +160 -179
- package/app/node_modules/undici/docs/docs/api/RedirectHandler.md +55 -241
- package/app/node_modules/undici/docs/docs/api/RetryAgent.md +27 -113
- package/app/node_modules/undici/docs/docs/api/RetryHandler.md +79 -161
- package/app/node_modules/undici/docs/docs/api/RoundRobinPool.md +72 -166
- package/app/node_modules/undici/docs/docs/api/SnapshotAgent.md +517 -262
- package/app/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +196 -177
- package/app/node_modules/undici/docs/docs/api/Util.md +11 -68
- package/app/node_modules/undici/docs/docs/api/WebSocket.md +80 -475
- package/app/node_modules/undici/docs/docs/api/api-lifecycle.md +32 -100
- package/app/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -2
- package/app/node_modules/undici/docs/docs/best-practices/crawling.md +1 -3
- package/app/node_modules/undici/docs/docs/best-practices/mocking-request.md +7 -9
- package/app/node_modules/undici/docs/docs/best-practices/proxy.md +1 -3
- package/app/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +8 -10
- package/app/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -2
- package/app/node_modules/undici/index.js +2 -4
- package/app/node_modules/undici/lib/api/api-connect.js +11 -13
- package/app/node_modules/undici/lib/api/api-pipeline.js +13 -26
- package/app/node_modules/undici/lib/api/api-request.js +21 -51
- package/app/node_modules/undici/lib/api/api-stream.js +20 -81
- package/app/node_modules/undici/lib/api/api-upgrade.js +11 -21
- package/app/node_modules/undici/lib/api/readable.js +11 -46
- package/app/node_modules/undici/lib/cache/memory-cache-store.js +15 -50
- package/app/node_modules/undici/lib/cache/sqlite-cache-store.js +18 -142
- package/app/node_modules/undici/lib/core/connect.js +7 -46
- package/app/node_modules/undici/lib/core/constants.js +23 -11
- package/app/node_modules/undici/lib/core/errors.js +3 -60
- package/app/node_modules/undici/lib/core/request.js +19 -116
- package/app/node_modules/undici/lib/core/symbols.js +0 -5
- package/app/node_modules/undici/lib/core/util.js +88 -110
- package/app/node_modules/undici/lib/dispatcher/agent.js +32 -51
- package/app/node_modules/undici/lib/dispatcher/balanced-pool.js +27 -23
- package/app/node_modules/undici/lib/dispatcher/client-h1.js +89 -166
- package/app/node_modules/undici/lib/dispatcher/client-h2.js +373 -1306
- package/app/node_modules/undici/lib/dispatcher/client.js +34 -114
- package/app/node_modules/undici/lib/dispatcher/dispatcher-base.js +8 -10
- package/app/node_modules/undici/lib/dispatcher/dispatcher.js +5 -15
- package/app/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +13 -57
- package/app/node_modules/undici/lib/dispatcher/h2c-client.js +4 -4
- package/app/node_modules/undici/lib/dispatcher/pool-base.js +27 -160
- package/app/node_modules/undici/lib/dispatcher/pool.js +16 -127
- package/app/node_modules/undici/lib/dispatcher/proxy-agent.js +29 -128
- package/app/node_modules/undici/lib/dispatcher/retry-agent.js +0 -13
- package/app/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -47
- package/app/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +63 -153
- package/app/node_modules/undici/lib/global.js +14 -37
- package/app/node_modules/undici/lib/handler/cache-handler.js +60 -101
- package/app/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -10
- package/app/node_modules/undici/lib/handler/decorator-handler.js +5 -14
- package/app/node_modules/undici/lib/handler/deduplication-handler.js +38 -74
- package/app/node_modules/undici/lib/handler/redirect-handler.js +72 -83
- package/app/node_modules/undici/lib/handler/retry-handler.js +45 -227
- package/app/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/app/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/app/node_modules/undici/lib/interceptor/cache.js +28 -53
- package/app/node_modules/undici/lib/interceptor/decompress.js +5 -12
- package/app/node_modules/undici/lib/interceptor/deduplicate.js +4 -5
- package/app/node_modules/undici/lib/interceptor/dns.js +1 -23
- package/app/node_modules/undici/lib/interceptor/redirect.js +3 -3
- package/app/node_modules/undici/lib/interceptor/response-error.js +28 -72
- package/app/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/app/node_modules/undici/lib/llhttp/llhttp-wasm.js +1 -1
- package/app/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +1 -1
- package/app/node_modules/undici/lib/mock/mock-agent.js +9 -32
- package/app/node_modules/undici/lib/mock/mock-call-history.js +1 -1
- package/app/node_modules/undici/lib/mock/mock-interceptor.js +7 -25
- package/app/node_modules/undici/lib/mock/mock-utils.js +48 -292
- package/app/node_modules/undici/lib/mock/snapshot-agent.js +7 -25
- package/app/node_modules/undici/lib/mock/snapshot-recorder.js +5 -41
- package/app/node_modules/undici/lib/mock/snapshot-utils.js +2 -3
- package/app/node_modules/undici/lib/util/cache.js +14 -69
- package/app/node_modules/undici/lib/util/promise.js +28 -0
- package/app/node_modules/undici/lib/util/runtime-features.js +34 -3
- package/app/node_modules/undici/lib/web/cache/cache.js +16 -23
- package/app/node_modules/undici/lib/web/cache/cachestorage.js +5 -11
- package/app/node_modules/undici/lib/web/cookies/index.js +6 -16
- package/app/node_modules/undici/lib/web/cookies/parse.js +4 -7
- package/app/node_modules/undici/lib/web/cookies/util.js +1 -1
- package/app/node_modules/undici/lib/web/eventsource/eventsource.js +23 -66
- package/app/node_modules/undici/lib/web/eventsource/util.js +1 -32
- package/app/node_modules/undici/lib/web/fetch/body.js +25 -90
- package/app/node_modules/undici/lib/web/fetch/constants.js +1 -1
- package/app/node_modules/undici/lib/web/fetch/data-url.js +6 -6
- package/app/node_modules/undici/lib/web/fetch/formdata-parser.js +4 -12
- package/app/node_modules/undici/lib/web/fetch/formdata.js +26 -39
- package/app/node_modules/undici/lib/web/fetch/headers.js +33 -36
- package/app/node_modules/undici/lib/web/fetch/index.js +259 -297
- package/app/node_modules/undici/lib/web/fetch/request.js +170 -172
- package/app/node_modules/undici/lib/web/fetch/response.js +47 -44
- package/app/node_modules/undici/lib/web/fetch/util.js +9 -17
- package/app/node_modules/undici/lib/web/infra/index.js +14 -15
- package/app/node_modules/undici/lib/web/webidl/index.js +21 -7
- package/app/node_modules/undici/lib/web/websocket/connection.js +5 -16
- package/app/node_modules/undici/lib/web/websocket/events.js +26 -43
- package/app/node_modules/undici/lib/web/websocket/frame.js +7 -1
- package/app/node_modules/undici/lib/web/websocket/receiver.js +3 -13
- package/app/node_modules/undici/lib/web/websocket/stream/websocketerror.js +10 -13
- package/app/node_modules/undici/lib/web/websocket/stream/websocketstream.js +14 -29
- package/app/node_modules/undici/lib/web/websocket/websocket.js +40 -65
- package/app/node_modules/undici/package.json +13 -15
- package/app/node_modules/undici/types/agent.d.ts +2 -0
- package/app/node_modules/undici/types/api.d.ts +1 -1
- package/app/node_modules/undici/types/cache-interceptor.d.ts +0 -10
- package/app/node_modules/undici/types/client.d.ts +27 -64
- package/app/node_modules/undici/types/connector.d.ts +0 -1
- package/app/node_modules/undici/types/cookies.d.ts +1 -1
- package/app/node_modules/undici/types/diagnostics-channel.d.ts +1 -2
- package/app/node_modules/undici/types/dispatcher.d.ts +30 -8
- package/app/node_modules/undici/types/errors.d.ts +1 -26
- package/app/node_modules/undici/types/fetch.d.ts +1 -5
- package/app/node_modules/undici/types/formdata.d.ts +12 -6
- package/app/node_modules/undici/types/h2c-client.d.ts +7 -7
- package/app/node_modules/undici/types/handlers.d.ts +0 -2
- package/app/node_modules/undici/types/header.d.ts +0 -5
- package/app/node_modules/undici/types/index.d.ts +1 -3
- package/app/node_modules/undici/types/interceptors.d.ts +2 -7
- package/app/node_modules/undici/types/mock-agent.d.ts +10 -11
- package/app/node_modules/undici/types/mock-interceptor.d.ts +1 -5
- package/app/node_modules/undici/types/pool.d.ts +2 -0
- package/app/node_modules/undici/types/proxy-agent.d.ts +2 -9
- package/app/node_modules/undici/types/retry-handler.d.ts +3 -3
- package/app/node_modules/undici/types/round-robin-pool.d.ts +2 -0
- package/app/node_modules/undici/types/snapshot-agent.d.ts +0 -4
- package/app/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -4
- package/app/node_modules/undici/types/utility.d.ts +4 -4
- package/app/node_modules/undici/types/webidl.d.ts +8 -13
- package/app/package.json +5 -2
- package/app/public/providers/sensenova-intl.png +0 -0
- package/app/src/shared/services/quotaAutoPing.js +17 -2
- package/package.json +2 -2
- package/app/.next-cli-build/server/chunks/1004.js +0 -1
- package/app/.next-cli-build/server/chunks/4480.js +0 -1
- package/app/.next-cli-build/server/chunks/4811.js +0 -51
- package/app/.next-cli-build/server/chunks/547.js +0 -1
- package/app/.next-cli-build/server/chunks/7573.js +0 -1
- package/app/.next-cli-build/server/chunks/8499.js +0 -1
- package/app/.next-cli-build/server/chunks/9102.js +0 -1
- package/app/.next-cli-build/static/chunks/1321-93eb6ca56f8fcb1e.js +0 -1
- package/app/.next-cli-build/static/chunks/5497-02b05d77d17bcdc3.js +0 -7
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-74ca3f1d4f1ec046.js +0 -27
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-b44167799c6c673a.js +0 -4
- package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-f16fd9091b7ae81c.js +0 -1
- package/app/node_modules/undici/docs/docs/api/Interceptors.md +0 -439
- package/app/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -233
- package/app/node_modules/undici/docs/docs/getting-started.md +0 -281
- package/app/node_modules/undici/docs/docs/index.md +0 -793
- package/app/node_modules/undici/docs/docs/site.json +0 -125
- package/app/node_modules/undici/docs/docs/type-map.json +0 -79
- package/app/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +0 -127
- package/app/node_modules/undici/lib/dispatcher/parser-h1.js +0 -1065
- package/app/node_modules/undici/lib/milo/LICENSE.md +0 -7
- package/app/node_modules/undici/lib/milo/no-simd.js +0 -1002
- package/app/node_modules/undici/lib/milo/simd.js +0 -1002
- package/app/node_modules/undici/types/dispatcher1-wrapper.d.ts +0 -7
- /package/app/.next-cli-build/static/{erY6mcU6WqDeuYANqpCwQ → mEL-faV-rpAwzfhUdVe-c}/_buildManifest.js +0 -0
- /package/app/.next-cli-build/static/{erY6mcU6WqDeuYANqpCwQ → mEL-faV-rpAwzfhUdVe-c}/_ssgManifest.js +0 -0
|
@@ -1,93 +1,27 @@
|
|
|
1
|
-
# ClientStats
|
|
1
|
+
# Class: ClientStats
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<!--type=module-->
|
|
5
|
-
<!-- source_link=lib/util/stats.js -->
|
|
3
|
+
Stats for a [Client](/docs/docs/api/Client.md).
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
## `new ClientStats(client)`
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
state of a single [`Client`][]. Instances are not created directly; a fresh
|
|
11
|
-
snapshot is produced each time the [`client.stats`][] getter is read.
|
|
7
|
+
Arguments:
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
import { Client } from 'undici'
|
|
9
|
+
* **client** `Client` - Client from which to return stats.
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
const stats = client.stats
|
|
18
|
-
console.log(stats.connected, stats.running)
|
|
19
|
-
```
|
|
11
|
+
## Instance Properties
|
|
20
12
|
|
|
21
|
-
|
|
22
|
-
const { Client } = require('undici')
|
|
13
|
+
### `ClientStats.connected`
|
|
23
14
|
|
|
24
|
-
|
|
25
|
-
const stats = client.stats
|
|
26
|
-
console.log(stats.connected, stats.running)
|
|
27
|
-
```
|
|
15
|
+
Boolean if socket as open connection by this client.
|
|
28
16
|
|
|
29
|
-
|
|
17
|
+
### `ClientStats.pending`
|
|
30
18
|
|
|
31
|
-
|
|
32
|
-
added: v7.9.0
|
|
33
|
-
-->
|
|
19
|
+
Number of pending requests of this client.
|
|
34
20
|
|
|
35
|
-
|
|
36
|
-
the snapshot is taken. The values are read from the client at construction time
|
|
37
|
-
and do not update afterwards; read [`client.stats`][] again for current values.
|
|
21
|
+
### `ClientStats.running`
|
|
38
22
|
|
|
39
|
-
|
|
23
|
+
Number of currently active requests across this client.
|
|
40
24
|
|
|
41
|
-
|
|
42
|
-
added: v7.9.0
|
|
43
|
-
-->
|
|
25
|
+
### `ClientStats.size`
|
|
44
26
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
Creates a snapshot from the supplied `client`. This constructor is used
|
|
48
|
-
internally by the [`client.stats`][] getter and is not normally invoked by
|
|
49
|
-
application code.
|
|
50
|
-
|
|
51
|
-
### `clientStats.connected`
|
|
52
|
-
|
|
53
|
-
<!-- YAML
|
|
54
|
-
added: v7.9.0
|
|
55
|
-
-->
|
|
56
|
-
|
|
57
|
-
* Type: {boolean}
|
|
58
|
-
|
|
59
|
-
`true` when the client currently has an open socket connection.
|
|
60
|
-
|
|
61
|
-
### `clientStats.pending`
|
|
62
|
-
|
|
63
|
-
<!-- YAML
|
|
64
|
-
added: v7.9.0
|
|
65
|
-
-->
|
|
66
|
-
|
|
67
|
-
* Type: {number}
|
|
68
|
-
|
|
69
|
-
Number of open socket connections of this client that do not have an active
|
|
70
|
-
request.
|
|
71
|
-
|
|
72
|
-
### `clientStats.running`
|
|
73
|
-
|
|
74
|
-
<!-- YAML
|
|
75
|
-
added: v7.9.0
|
|
76
|
-
-->
|
|
77
|
-
|
|
78
|
-
* Type: {number}
|
|
79
|
-
|
|
80
|
-
Number of currently active requests of this client.
|
|
81
|
-
|
|
82
|
-
### `clientStats.size`
|
|
83
|
-
|
|
84
|
-
<!-- YAML
|
|
85
|
-
added: v7.9.0
|
|
86
|
-
-->
|
|
87
|
-
|
|
88
|
-
* Type: {number}
|
|
89
|
-
|
|
90
|
-
Number of active, pending, or queued requests of this client.
|
|
91
|
-
|
|
92
|
-
[`Client`]: Client.md#class-client
|
|
93
|
-
[`client.stats`]: Client.md#clientstats
|
|
27
|
+
Number of active, pending, or queued requests of this clients.
|
|
@@ -1,87 +1,48 @@
|
|
|
1
1
|
# Connector
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Undici creates the underlying socket via the connector builder.
|
|
4
|
+
Normally, this happens automatically and you don't need to care about this,
|
|
5
|
+
but if you need to perform some additional check over the currently used socket,
|
|
6
|
+
this is the right place.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
If you want to create a custom connector, you must import the `buildConnector` utility.
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
default this is handled internally, so most applications never interact with the
|
|
11
|
-
connector directly. When a request needs additional control over the socket —
|
|
12
|
-
for example to inspect a TLS certificate, pin a CA fingerprint, or tunnel the
|
|
13
|
-
connection — a custom connector can be supplied through the `connect` option of
|
|
14
|
-
a [`Dispatcher`][].
|
|
10
|
+
#### Parameter: `buildConnector.BuildOptions`
|
|
15
11
|
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
Every Tls option, see [here](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback).
|
|
13
|
+
Furthermore, the following options can be passed:
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
* **socketPath** `string | null` (optional) - Default: `null` - An IPC endpoint, either Unix domain socket or Windows named pipe.
|
|
16
|
+
* **maxCachedSessions** `number | null` (optional) - Default: `100` - Maximum number of TLS cached sessions. Use 0 to disable TLS session caching. Default: `100`.
|
|
17
|
+
* **timeout** `number | null` (optional) - In milliseconds. Default `10e3`.
|
|
18
|
+
* **servername** `string | null` (optional)
|
|
21
19
|
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
Once you call `buildConnector`, it will return a connector function, which takes the following parameters.
|
|
21
|
+
|
|
22
|
+
#### Parameter: `connector.Options`
|
|
23
|
+
|
|
24
|
+
* **hostname** `string` (required)
|
|
25
|
+
* **host** `string` (optional)
|
|
26
|
+
* **protocol** `string` (required)
|
|
27
|
+
* **port** `string` (required)
|
|
28
|
+
* **servername** `string` (optional)
|
|
29
|
+
* **localAddress** `string | null` (optional) Local address the socket should connect from.
|
|
30
|
+
* **httpSocket** `Socket` (optional) Establish secure connection on a given socket rather than creating a new socket. It can only be sent on TLS update.
|
|
31
|
+
|
|
32
|
+
### Basic example
|
|
33
|
+
|
|
34
|
+
```js
|
|
35
|
+
'use strict'
|
|
24
36
|
|
|
25
|
-
`buildConnector` accepts the same TLS options as
|
|
26
|
-
[`tls.connect()`][tls.connect] in addition to the undici-specific options listed
|
|
27
|
-
below, and returns a [`connector`](#connectoroptions-callback) function that
|
|
28
|
-
undici invokes for each new connection.
|
|
29
|
-
|
|
30
|
-
## `buildConnector([options])`
|
|
31
|
-
|
|
32
|
-
<!-- YAML
|
|
33
|
-
added: v5.23.4
|
|
34
|
-
-->
|
|
35
|
-
|
|
36
|
-
* `options` {buildConnector.BuildOptions} (optional) Connection options. In
|
|
37
|
-
addition to every [`tls.connect()`][tls.connect] option, the following fields
|
|
38
|
-
are supported:
|
|
39
|
-
* `allowH2` {boolean} Whether to offer HTTP/2 (`h2`) during TLS ALPN
|
|
40
|
-
negotiation. **Default:** `true`.
|
|
41
|
-
* `preferH2` {boolean} Only effective together with `allowH2`. When `true`,
|
|
42
|
-
ALPN is offered as `['h2', 'http/1.1']` (HTTP/2 first) instead of the default
|
|
43
|
-
`['http/1.1', 'h2']`. Use this when the server selects the ALPN protocol by
|
|
44
|
-
*client* preference (for example, some load balancers) so that HTTP/2 is
|
|
45
|
-
negotiated whenever the server supports it. If the server does not support
|
|
46
|
-
HTTP/2, ALPN transparently falls back to `http/1.1`. **Default:** `false`.
|
|
47
|
-
* `maxCachedSessions` {number|null} Maximum number of TLS sessions to cache for
|
|
48
|
-
reuse. Use `0` to disable TLS session caching. Must be a non-negative
|
|
49
|
-
integer. **Default:** `100`.
|
|
50
|
-
* `socketPath` {string|null} An IPC endpoint, either a Unix domain socket or a
|
|
51
|
-
Windows named pipe. **Default:** `null`.
|
|
52
|
-
* `timeout` {number|null} The connection timeout in milliseconds. A
|
|
53
|
-
[`ConnectTimeoutError`][] is raised when the socket fails to connect within
|
|
54
|
-
this period. **Default:** `10e3`.
|
|
55
|
-
* `port` {number} The port to connect to when one is not provided to the
|
|
56
|
-
connector. Defaults to `443` for `https:` and `80` otherwise.
|
|
57
|
-
* `keepAlive` {boolean|null} Whether to enable TCP keep-alive on the socket.
|
|
58
|
-
**Default:** `true`.
|
|
59
|
-
* `keepAliveInitialDelay` {number|null} The delay in milliseconds before the
|
|
60
|
-
first TCP keep-alive probe is sent on an idle socket. **Default:** `60e3`.
|
|
61
|
-
* `typeOfService` {number|null} The IP Type of Service (ToS) value to set on
|
|
62
|
-
the socket. **Default:** `null`.
|
|
63
|
-
* Returns: {buildConnector.connector} A
|
|
64
|
-
[`connector`](#connectoroptions-callback) function bound to the supplied
|
|
65
|
-
options.
|
|
66
|
-
|
|
67
|
-
Builds a connector function. `maxCachedSessions` must be a non-negative integer
|
|
68
|
-
or an [`InvalidArgumentError`][] is thrown.
|
|
69
|
-
|
|
70
|
-
The returned function may be passed directly as the `connect` option of a
|
|
71
|
-
[`Dispatcher`][], or wrapped to perform extra validation on each socket before it
|
|
72
|
-
is handed back to undici.
|
|
73
|
-
|
|
74
|
-
```mjs
|
|
75
37
|
import { Client, buildConnector } from 'undici'
|
|
76
38
|
|
|
77
39
|
const connector = buildConnector({ rejectUnauthorized: false })
|
|
78
|
-
|
|
79
40
|
const client = new Client('https://localhost:3000', {
|
|
80
41
|
connect (opts, cb) {
|
|
81
42
|
connector(opts, (err, socket) => {
|
|
82
43
|
if (err) {
|
|
83
44
|
cb(err)
|
|
84
|
-
} else if (/* assertion */
|
|
45
|
+
} else if (/* assertion */) {
|
|
85
46
|
socket.destroy()
|
|
86
47
|
cb(new Error('kaboom'))
|
|
87
48
|
} else {
|
|
@@ -92,53 +53,15 @@ const client = new Client('https://localhost:3000', {
|
|
|
92
53
|
})
|
|
93
54
|
```
|
|
94
55
|
|
|
95
|
-
## `connector(options, callback)`
|
|
96
|
-
|
|
97
|
-
<!-- YAML
|
|
98
|
-
added: v4.3.0
|
|
99
|
-
-->
|
|
100
|
-
|
|
101
|
-
* `options` {Object} Per-connection options provided by undici.
|
|
102
|
-
* `hostname` {string} The host to connect to.
|
|
103
|
-
* `host` {string} (optional) The value of the request `Host` header, used to
|
|
104
|
-
derive the TLS `servername` when one is not supplied.
|
|
105
|
-
* `protocol` {string} The request protocol, for example `'https:'` or
|
|
106
|
-
`'http:'`. A value of `'https:'` establishes a TLS connection.
|
|
107
|
-
* `port` {string} The port to connect to. Defaults to `443` for `https:` and
|
|
108
|
-
`80` otherwise.
|
|
109
|
-
* `servername` {string} (optional) The TLS Server Name Indication (SNI) value.
|
|
110
|
-
Derived from `host` when omitted.
|
|
111
|
-
* `localAddress` {string|null} (optional) The local address the socket should
|
|
112
|
-
connect from.
|
|
113
|
-
* `httpSocket` {Socket} (optional) An existing socket on which to establish the
|
|
114
|
-
secure connection rather than creating a new one. May only be supplied for a
|
|
115
|
-
TLS upgrade (`protocol` of `'https:'`).
|
|
116
|
-
* `callback` {Function} Called once the socket has connected or failed.
|
|
117
|
-
* `err` {Error|null} The connection error, or `null` on success.
|
|
118
|
-
* `socket` {Socket|TLSSocket|null} The connected socket, or `null` on failure.
|
|
119
|
-
* Returns: {Socket|TLSSocket} The socket being established.
|
|
120
|
-
|
|
121
|
-
The function returned by [`buildConnector()`](#buildconnectoroptions). undici
|
|
122
|
-
calls it for every new connection. It opens a [`net.Socket`][] for `http:`
|
|
123
|
-
targets or a [`tls.TLSSocket`][] for `https:` targets, applies TCP keep-alive and
|
|
124
|
-
the connect timeout, and invokes `callback` once the socket connects or errors.
|
|
125
|
-
The socket is also returned synchronously.
|
|
126
|
-
|
|
127
|
-
When connecting over TLS, established sessions are cached (subject to
|
|
128
|
-
`maxCachedSessions`) and reused for subsequent connections to the same
|
|
129
|
-
`servername` or `hostname`.
|
|
130
|
-
|
|
131
56
|
### Example: validate the CA fingerprint
|
|
132
57
|
|
|
133
|
-
|
|
134
|
-
|
|
58
|
+
```js
|
|
59
|
+
'use strict'
|
|
135
60
|
|
|
136
|
-
```mjs
|
|
137
61
|
import { Client, buildConnector } from 'undici'
|
|
138
62
|
|
|
139
63
|
const caFingerprint = 'FO:OB:AR'
|
|
140
64
|
const connector = buildConnector({ rejectUnauthorized: false })
|
|
141
|
-
|
|
142
65
|
const client = new Client('https://localhost:3000', {
|
|
143
66
|
connect (opts, cb) {
|
|
144
67
|
connector(opts, (err, socket) => {
|
|
@@ -173,26 +96,20 @@ client.request({
|
|
|
173
96
|
function getIssuerCertificate (socket) {
|
|
174
97
|
let certificate = socket.getPeerCertificate(true)
|
|
175
98
|
while (certificate && Object.keys(certificate).length > 0) {
|
|
176
|
-
//
|
|
99
|
+
// invalid certificate
|
|
177
100
|
if (certificate.issuerCertificate == null) {
|
|
178
101
|
return null
|
|
179
102
|
}
|
|
180
103
|
|
|
181
|
-
// We have reached the root certificate.
|
|
182
|
-
// certificates, `issuerCertificate` may be a circular reference.
|
|
104
|
+
// We have reached the root certificate.
|
|
105
|
+
// In case of self-signed certificates, `issuerCertificate` may be a circular reference.
|
|
183
106
|
if (certificate.fingerprint256 === certificate.issuerCertificate.fingerprint256) {
|
|
184
107
|
break
|
|
185
108
|
}
|
|
186
109
|
|
|
110
|
+
// continue the loop
|
|
187
111
|
certificate = certificate.issuerCertificate
|
|
188
112
|
}
|
|
189
113
|
return certificate
|
|
190
114
|
}
|
|
191
115
|
```
|
|
192
|
-
|
|
193
|
-
[`ConnectTimeoutError`]: Errors.md#class-connecttimeouterror
|
|
194
|
-
[`Dispatcher`]: Dispatcher.md#class-dispatcher
|
|
195
|
-
[`InvalidArgumentError`]: Errors.md#class-invalidargumenterror
|
|
196
|
-
[`net.Socket`]: https://nodejs.org/api/net.html#class-netsocket
|
|
197
|
-
[`tls.TLSSocket`]: https://nodejs.org/api/tls.html#class-tlstlssocket
|
|
198
|
-
[tls.connect]: https://nodejs.org/api/tls.html#tlsconnectoptions-callback
|
|
@@ -1,51 +1,19 @@
|
|
|
1
1
|
# MIME Type Parsing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<!--type=module-->
|
|
5
|
-
<!-- source_link=lib/web/fetch/data-url.js -->
|
|
3
|
+
## `MIMEType` interface
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
* **type** `string`
|
|
6
|
+
* **subtype** `string`
|
|
7
|
+
* **parameters** `Map<string, string>`
|
|
8
|
+
* **essence** `string`
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
WHATWG [MIME Sniffing Standard][]. These are the same primitives undici uses
|
|
11
|
-
internally to interpret `Content-Type` headers and `data:` URLs.
|
|
12
|
-
|
|
13
|
-
Import the functions from `'undici'`:
|
|
14
|
-
|
|
15
|
-
```mjs
|
|
16
|
-
import { parseMIMEType, serializeAMimeType } from 'undici'
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
A parsed MIME type is represented as a plain object with the following shape:
|
|
10
|
+
## `parseMIMEType(input)`
|
|
20
11
|
|
|
21
|
-
|
|
22
|
-
* `subtype` {string} The lowercased subtype, for example `'html'`.
|
|
23
|
-
* `parameters` {Map<string, string>} The parameters, keyed by lowercased
|
|
24
|
-
parameter name.
|
|
25
|
-
* `essence` {string} The concatenation of `type`, `'/'`, and `subtype`, for
|
|
26
|
-
example `'text/html'`.
|
|
12
|
+
Implements [parse a MIME type](https://mimesniff.spec.whatwg.org/#parse-a-mime-type).
|
|
27
13
|
|
|
28
|
-
|
|
14
|
+
Parses a MIME type, returning its type, subtype, and any associated parameters. If the parser can't parse an input it returns the string literal `'failure'`.
|
|
29
15
|
|
|
30
|
-
|
|
31
|
-
added: v4.13.0
|
|
32
|
-
-->
|
|
33
|
-
|
|
34
|
-
* `input` {string} The MIME type string to parse.
|
|
35
|
-
* Returns: {Object|string} A parsed MIME type record, or the string literal
|
|
36
|
-
`'failure'` when `input` cannot be parsed.
|
|
37
|
-
* `type` {string} The lowercased type.
|
|
38
|
-
* `subtype` {string} The lowercased subtype.
|
|
39
|
-
* `parameters` {Map<string, string>} The parsed parameters, keyed by
|
|
40
|
-
lowercased parameter name.
|
|
41
|
-
* `essence` {string} The MIME type essence, `` `${type}/${subtype}` ``.
|
|
42
|
-
|
|
43
|
-
Implements the WHATWG [parse a MIME type][] algorithm. The `type` and `subtype`
|
|
44
|
-
are lowercased, and only the first occurrence of a duplicate parameter name is
|
|
45
|
-
retained. When `input` is empty, lacks a `/`, or otherwise violates the grammar,
|
|
46
|
-
the string literal `'failure'` is returned instead of a record.
|
|
47
|
-
|
|
48
|
-
```mjs
|
|
16
|
+
```js
|
|
49
17
|
import { parseMIMEType } from 'undici'
|
|
50
18
|
|
|
51
19
|
parseMIMEType('text/html; charset=gbk')
|
|
@@ -55,31 +23,21 @@ parseMIMEType('text/html; charset=gbk')
|
|
|
55
23
|
// parameters: Map(1) { 'charset' => 'gbk' },
|
|
56
24
|
// essence: 'text/html'
|
|
57
25
|
// }
|
|
58
|
-
|
|
59
|
-
parseMIMEType('not a mime type')
|
|
60
|
-
// 'failure'
|
|
61
26
|
```
|
|
62
27
|
|
|
63
|
-
|
|
28
|
+
Arguments:
|
|
29
|
+
|
|
30
|
+
* **input** `string`
|
|
31
|
+
|
|
32
|
+
Returns: `MIMEType|'failure'`
|
|
64
33
|
|
|
65
|
-
|
|
66
|
-
added: v5.11.0
|
|
67
|
-
-->
|
|
34
|
+
## `serializeAMimeType(input)`
|
|
68
35
|
|
|
69
|
-
|
|
70
|
-
* `type` {string} The type.
|
|
71
|
-
* `subtype` {string} The subtype.
|
|
72
|
-
* `parameters` {Map<string, string>} The parameters to serialize, in
|
|
73
|
-
insertion order.
|
|
74
|
-
* `essence` {string} The MIME type essence, `` `${type}/${subtype}` ``.
|
|
75
|
-
* Returns: {string} The serialized MIME type.
|
|
36
|
+
Implements [serialize a MIME type](https://mimesniff.spec.whatwg.org/#serialize-a-mime-type).
|
|
76
37
|
|
|
77
|
-
|
|
78
|
-
emitted followed by each parameter as `;name=value`. A parameter value that
|
|
79
|
-
contains characters outside the HTTP token set is quoted, and any `"` or `\`
|
|
80
|
-
characters within it are escaped.
|
|
38
|
+
Serializes a MIMEType object.
|
|
81
39
|
|
|
82
|
-
```
|
|
40
|
+
```js
|
|
83
41
|
import { serializeAMimeType } from 'undici'
|
|
84
42
|
|
|
85
43
|
serializeAMimeType({
|
|
@@ -88,10 +46,12 @@ serializeAMimeType({
|
|
|
88
46
|
parameters: new Map([['charset', 'gbk']]),
|
|
89
47
|
essence: 'text/html'
|
|
90
48
|
})
|
|
91
|
-
//
|
|
49
|
+
// text/html;charset=gbk
|
|
50
|
+
|
|
92
51
|
```
|
|
93
52
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
53
|
+
Arguments:
|
|
54
|
+
|
|
55
|
+
* **mimeType** `MIMEType`
|
|
56
|
+
|
|
57
|
+
Returns: `string`
|
|
@@ -1,58 +1,44 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Cookie Handling
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<!--type=module-->
|
|
5
|
-
<!-- source_link=lib/web/cookies/index.js -->
|
|
3
|
+
## `Cookie` interface
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
* **name** `string`
|
|
6
|
+
* **value** `string`
|
|
7
|
+
* **expires** `Date|number` (optional)
|
|
8
|
+
* **maxAge** `number` (optional)
|
|
9
|
+
* **domain** `string` (optional)
|
|
10
|
+
* **path** `string` (optional)
|
|
11
|
+
* **secure** `boolean` (optional)
|
|
12
|
+
* **httpOnly** `boolean` (optional)
|
|
13
|
+
* **sameSite** `'String'|'Lax'|'None'` (optional)
|
|
14
|
+
* **unparsed** `string[]` (optional) Left over attributes that weren't parsed.
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
## `deleteCookie(headers, name[, attributes])`
|
|
17
|
+
|
|
18
|
+
Sets the expiry time of the cookie to the unix epoch, causing browsers to delete it when received.
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
import { deleteCookie, Headers } from 'undici'
|
|
22
|
+
|
|
23
|
+
const headers = new Headers()
|
|
24
|
+
deleteCookie(headers, 'name')
|
|
13
25
|
|
|
14
|
-
|
|
15
|
-
import { getCookies, setCookie, deleteCookie, getSetCookies, parseCookie } from 'undici'
|
|
26
|
+
console.log(headers.get('set-cookie')) // name=; Expires=Thu, 01 Jan 1970 00:00:00 GMT
|
|
16
27
|
```
|
|
17
28
|
|
|
18
|
-
|
|
19
|
-
only read from and mutate the supplied `Headers` object.
|
|
20
|
-
|
|
21
|
-
## `Cookie`
|
|
22
|
-
|
|
23
|
-
The `Cookie` object describes a single cookie and its attributes. It is the
|
|
24
|
-
return shape of [`parseCookie()`][] and [`getSetCookies()`][], and the input
|
|
25
|
-
shape accepted by [`setCookie()`][].
|
|
26
|
-
|
|
27
|
-
* `name` {string} The cookie name.
|
|
28
|
-
* `value` {string} The cookie value.
|
|
29
|
-
* `expires` {Date|number} The cookie expiry time, as a `Date` or a Unix
|
|
30
|
-
timestamp in seconds. (optional)
|
|
31
|
-
* `maxAge` {number} The number of seconds until the cookie expires. (optional)
|
|
32
|
-
* `domain` {string} The hosts the cookie is sent to. (optional)
|
|
33
|
-
* `path` {string} The URL path that must exist for the cookie to be sent.
|
|
34
|
-
(optional)
|
|
35
|
-
* `secure` {boolean} Whether the cookie is only sent over HTTPS. (optional)
|
|
36
|
-
* `httpOnly` {boolean} Whether the cookie is inaccessible to client-side
|
|
37
|
-
JavaScript. (optional)
|
|
38
|
-
* `sameSite` {string} Controls whether the cookie is sent with cross-site
|
|
39
|
-
requests. One of `'Strict'`, `'Lax'`, or `'None'`. (optional)
|
|
40
|
-
* `unparsed` {string[]} Any attributes that were present in the `Set-Cookie`
|
|
41
|
-
header but not recognized, each formatted as `` `name=value` ``. (optional)
|
|
29
|
+
Arguments:
|
|
42
30
|
|
|
43
|
-
|
|
31
|
+
* **headers** `Headers`
|
|
32
|
+
* **name** `string`
|
|
33
|
+
* **attributes** `{ path?: string, domain?: string }` (optional)
|
|
44
34
|
|
|
45
|
-
|
|
46
|
-
added: v5.15.0
|
|
47
|
-
-->
|
|
35
|
+
Returns: `void`
|
|
48
36
|
|
|
49
|
-
|
|
50
|
-
* Returns: {Record<string, string>} A map of cookie names to values.
|
|
37
|
+
## `getCookies(headers)`
|
|
51
38
|
|
|
52
|
-
Parses the `Cookie` header
|
|
53
|
-
plain object. An empty object is returned when no `Cookie` header is present.
|
|
39
|
+
Parses the `Cookie` header and returns a list of attributes and values.
|
|
54
40
|
|
|
55
|
-
```
|
|
41
|
+
```js
|
|
56
42
|
import { getCookies, Headers } from 'undici'
|
|
57
43
|
|
|
58
44
|
const headers = new Headers({
|
|
@@ -62,48 +48,17 @@ const headers = new Headers({
|
|
|
62
48
|
console.log(getCookies(headers)) // { get: 'cookies', and: 'attributes' }
|
|
63
49
|
```
|
|
64
50
|
|
|
65
|
-
|
|
51
|
+
Arguments:
|
|
66
52
|
|
|
67
|
-
|
|
68
|
-
added: v5.15.0
|
|
69
|
-
-->
|
|
53
|
+
* **headers** `Headers`
|
|
70
54
|
|
|
71
|
-
|
|
72
|
-
* `name` {string} The name of the cookie to delete.
|
|
73
|
-
* `attributes` {Object} (optional)
|
|
74
|
-
* `path` {string} The path the cookie was scoped to. **Default:** `null`.
|
|
75
|
-
* `domain` {string} The domain the cookie was scoped to. **Default:** `null`.
|
|
76
|
-
* Returns: {undefined}
|
|
77
|
-
|
|
78
|
-
Appends a `Set-Cookie` header to `headers` that expires the named cookie by
|
|
79
|
-
setting its expiry time to the Unix epoch, causing a client to delete it on
|
|
80
|
-
receipt. The optional `path` and `domain` must match those of the cookie being
|
|
81
|
-
removed.
|
|
82
|
-
|
|
83
|
-
```mjs
|
|
84
|
-
import { deleteCookie, Headers } from 'undici'
|
|
85
|
-
|
|
86
|
-
const headers = new Headers()
|
|
87
|
-
deleteCookie(headers, 'name')
|
|
88
|
-
|
|
89
|
-
console.log(headers.get('set-cookie')) // name=; Expires=Thu, 01 Jan 1970 00:00:00 GMT
|
|
90
|
-
```
|
|
55
|
+
Returns: `Record<string, string>`
|
|
91
56
|
|
|
92
57
|
## `getSetCookies(headers)`
|
|
93
58
|
|
|
94
|
-
|
|
95
|
-
added: v5.15.0
|
|
96
|
-
-->
|
|
97
|
-
|
|
98
|
-
* `headers` {Headers} The `Headers` to read the `Set-Cookie` headers from.
|
|
99
|
-
* Returns: {Cookie[]} The parsed cookies, or an empty array when none are
|
|
100
|
-
present.
|
|
59
|
+
Parses all `Set-Cookie` headers.
|
|
101
60
|
|
|
102
|
-
|
|
103
|
-
[`Cookie`][] objects. A header that fails to parse yields a `null` entry at its
|
|
104
|
-
position in the returned array.
|
|
105
|
-
|
|
106
|
-
```mjs
|
|
61
|
+
```js
|
|
107
62
|
import { getSetCookies, Headers } from 'undici'
|
|
108
63
|
|
|
109
64
|
const headers = new Headers({ 'set-cookie': 'undici=getSetCookies; Secure' })
|
|
@@ -116,45 +71,20 @@ console.log(getSetCookies(headers))
|
|
|
116
71
|
// secure: true
|
|
117
72
|
// }
|
|
118
73
|
// ]
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## `setCookie(headers, cookie)`
|
|
122
|
-
|
|
123
|
-
<!-- YAML
|
|
124
|
-
added: v5.15.0
|
|
125
|
-
-->
|
|
126
|
-
|
|
127
|
-
* `headers` {Headers} The `Headers` to append the `Set-Cookie` header to.
|
|
128
|
-
* `cookie` {Cookie} The cookie to serialize. See [`Cookie`][].
|
|
129
|
-
* Returns: {undefined}
|
|
130
74
|
|
|
131
|
-
|
|
132
|
-
the cookie name is empty, serialization yields no value and no header is
|
|
133
|
-
appended.
|
|
75
|
+
```
|
|
134
76
|
|
|
135
|
-
|
|
136
|
-
import { setCookie, Headers } from 'undici'
|
|
77
|
+
Arguments:
|
|
137
78
|
|
|
138
|
-
|
|
139
|
-
setCookie(headers, { name: 'undici', value: 'setCookie' })
|
|
79
|
+
* **headers** `Headers`
|
|
140
80
|
|
|
141
|
-
|
|
142
|
-
```
|
|
81
|
+
Returns: `Cookie[]`
|
|
143
82
|
|
|
144
83
|
## `parseCookie(cookie)`
|
|
145
84
|
|
|
146
|
-
|
|
147
|
-
added: v7.0.0
|
|
148
|
-
-->
|
|
149
|
-
|
|
150
|
-
* `cookie` {string} A `Set-Cookie` header value.
|
|
151
|
-
* Returns: {Cookie|null} The parsed cookie, or `null` if `cookie` is invalid.
|
|
85
|
+
Parses a single `Set-Cookie` header value into a `Cookie` object.
|
|
152
86
|
|
|
153
|
-
|
|
154
|
-
returned when the value contains control characters or otherwise cannot be
|
|
155
|
-
parsed.
|
|
156
|
-
|
|
157
|
-
```mjs
|
|
87
|
+
```js
|
|
158
88
|
import { parseCookie } from 'undici'
|
|
159
89
|
|
|
160
90
|
console.log(parseCookie('undici=getSetCookies; Secure; SameSite=Lax'))
|
|
@@ -166,14 +96,33 @@ console.log(parseCookie('undici=getSetCookies; Secure; SameSite=Lax'))
|
|
|
166
96
|
// }
|
|
167
97
|
```
|
|
168
98
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
`None`.
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
99
|
+
Notes:
|
|
100
|
+
|
|
101
|
+
* The cookie value is returned as it appears in the header. Percent-encoded sequences such as `%20` or `%0D%0A` are **not** decoded.
|
|
102
|
+
* `sameSite` is only set for exact case-insensitive matches of `Strict`, `Lax`, or `None`.
|
|
103
|
+
|
|
104
|
+
Arguments:
|
|
105
|
+
|
|
106
|
+
* **cookie** `string`
|
|
107
|
+
|
|
108
|
+
Returns: `Cookie | null`
|
|
109
|
+
|
|
110
|
+
## `setCookie(headers, cookie)`
|
|
111
|
+
|
|
112
|
+
Appends a cookie to the `Set-Cookie` header.
|
|
113
|
+
|
|
114
|
+
```js
|
|
115
|
+
import { setCookie, Headers } from 'undici'
|
|
116
|
+
|
|
117
|
+
const headers = new Headers()
|
|
118
|
+
setCookie(headers, { name: 'undici', value: 'setCookie' })
|
|
119
|
+
|
|
120
|
+
console.log(headers.get('Set-Cookie')) // undici=setCookie
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Arguments:
|
|
124
|
+
|
|
125
|
+
* **headers** `Headers`
|
|
126
|
+
* **cookie** `Cookie`
|
|
127
|
+
|
|
128
|
+
Returns: `void`
|