@webqit/webflo 0.20.1 → 0.20.2-next.1
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/package.json +1 -1
- package/site/.vitepress/config.ts +1 -0
- package/site/.vitepress/dist/-/_.html +56 -0
- package/site/.vitepress/dist/-/docs.old.html +679 -0
- package/site/.vitepress/dist/404.html +23 -0
- package/site/.vitepress/dist/api/webflo-fetch/FormData.html +55 -0
- package/site/.vitepress/dist/api/webflo-fetch/Headers.html +55 -0
- package/site/.vitepress/dist/api/webflo-fetch/LiveResponse.html +55 -0
- package/site/.vitepress/dist/api/webflo-fetch/Request.html +55 -0
- package/site/.vitepress/dist/api/webflo-fetch/Response.html +55 -0
- package/site/.vitepress/dist/api/webflo-fetch/fetch.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpCookies.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpEvent/respondWith.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpEvent/waitUntil.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpEvent/waitUntilNavigate.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpEvent.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpSession.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpState.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/HttpUser.html +55 -0
- package/site/.vitepress/dist/api/webflo-routing/handler/fetch.html +59 -0
- package/site/.vitepress/dist/api/webflo-routing/handler/next.html +61 -0
- package/site/.vitepress/dist/api/webflo-routing/handler.html +65 -0
- package/site/.vitepress/dist/api.html +55 -0
- package/site/.vitepress/dist/assets/-__.md.wD5kDRhS.js +1 -0
- package/site/.vitepress/dist/assets/-__.md.wD5kDRhS.lean.js +1 -0
- package/site/.vitepress/dist/assets/-_docs.old.md.CiqucE_1.js +625 -0
- package/site/.vitepress/dist/assets/-_docs.old.md.CiqucE_1.lean.js +1 -0
- package/site/.vitepress/dist/assets/api.md.C9KRNLi_.js +1 -0
- package/site/.vitepress/dist/assets/api.md.C9KRNLi_.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_FormData.md.CDuexUTz.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_FormData.md.CDuexUTz.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Headers.md.Cl_4-FUP.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Headers.md.Cl_4-FUP.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_LiveResponse.md.BMidKMB1.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_LiveResponse.md.BMidKMB1.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Request.md.DPwZCPmi.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Request.md.DPwZCPmi.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Response.md.BaSyoOLE.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_Response.md.BaSyoOLE.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_fetch.md.Bc9r3Q9I.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-fetch_fetch.md.Bc9r3Q9I.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpCookies.md.B5ok3jrM.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpCookies.md.B5ok3jrM.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent.md.DBkSQRTa.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent.md.DBkSQRTa.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_respondWith.md.aAxq-5Ie.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_respondWith.md.aAxq-5Ie.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntil.md.DyQZLhPR.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntil.md.DyQZLhPR.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntilNavigate.md.DKLylwhl.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntilNavigate.md.DKLylwhl.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpSession.md.bkeCy7_Q.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpSession.md.bkeCy7_Q.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpState.md.DO53IAM1.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpState.md.DO53IAM1.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpUser.md.CfsaBFdl.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_HttpUser.md.CfsaBFdl.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler.md.B0eVFluL.js +11 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler.md.B0eVFluL.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler_fetch.md.CpwUMFMz.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler_fetch.md.CpwUMFMz.lean.js +1 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler_next.md.CA4tDXtV.js +7 -0
- package/site/.vitepress/dist/assets/api_webflo-routing_handler_next.md.CA4tDXtV.lean.js +1 -0
- package/site/.vitepress/dist/assets/app.B989j-Lw.js +256 -0
- package/site/.vitepress/dist/assets/chunks/@localSearchIndexroot.IcaIAE_s.js +1 -0
- package/site/.vitepress/dist/assets/chunks/VPLocalSearchBox.CxstEVOs.js +8 -0
- package/site/.vitepress/dist/assets/chunks/arc.CNNknwAo.js +1 -0
- package/site/.vitepress/dist/assets/chunks/architectureDiagram-VXUJARFQ.DCLYhNHD.js +36 -0
- package/site/.vitepress/dist/assets/chunks/basePickBy.Cxi84nlK.js +1 -0
- package/site/.vitepress/dist/assets/chunks/baseUniq.DDTOgUAc.js +1 -0
- package/site/.vitepress/dist/assets/chunks/blockDiagram-VD42YOAC.BcpiarhA.js +122 -0
- package/site/.vitepress/dist/assets/chunks/c4Diagram-YG6GDRKO.BI_5dKaW.js +10 -0
- package/site/.vitepress/dist/assets/chunks/channel.CxIJmpCu.js +1 -0
- package/site/.vitepress/dist/assets/chunks/chunk-4BX2VUAB.C6goADHj.js +1 -0
- package/site/.vitepress/dist/assets/chunks/chunk-55IACEB6.BLGj4Pud.js +1 -0
- package/site/.vitepress/dist/assets/chunks/chunk-B4BG7PRW.DsAzxoJ_.js +165 -0
- package/site/.vitepress/dist/assets/chunks/chunk-DI55MBZ5.BnE2NeEC.js +220 -0
- package/site/.vitepress/dist/assets/chunks/chunk-FMBD7UC4.DGeT8zu4.js +15 -0
- package/site/.vitepress/dist/assets/chunks/chunk-QN33PNHL.Bc78W0xn.js +1 -0
- package/site/.vitepress/dist/assets/chunks/chunk-QZHKN3VN.BFSSbGEs.js +1 -0
- package/site/.vitepress/dist/assets/chunks/chunk-TZMSLE5B.DyZR9PPb.js +1 -0
- package/site/.vitepress/dist/assets/chunks/classDiagram-2ON5EDUG._0fUH5ha.js +1 -0
- package/site/.vitepress/dist/assets/chunks/classDiagram-v2-WZHVMYZB._0fUH5ha.js +1 -0
- package/site/.vitepress/dist/assets/chunks/clone.BYyOtvOD.js +1 -0
- package/site/.vitepress/dist/assets/chunks/cose-bilkent-S5V4N54A.TlhUFBAR.js +1 -0
- package/site/.vitepress/dist/assets/chunks/cytoscape.esm.CyJtwmzi.js +331 -0
- package/site/.vitepress/dist/assets/chunks/dagre-6UL2VRFP.D__9IqfC.js +4 -0
- package/site/.vitepress/dist/assets/chunks/defaultLocale.C4B-KCzX.js +1 -0
- package/site/.vitepress/dist/assets/chunks/diagram-PSM6KHXK.DYSDWndU.js +24 -0
- package/site/.vitepress/dist/assets/chunks/diagram-QEK2KX5R.FZi2c8WB.js +43 -0
- package/site/.vitepress/dist/assets/chunks/diagram-S2PKOQOG.D-Xxss9Z.js +24 -0
- package/site/.vitepress/dist/assets/chunks/erDiagram-Q2GNP2WA.CNdrcxqE.js +60 -0
- package/site/.vitepress/dist/assets/chunks/flowDiagram-NV44I4VS.C_6PWuGm.js +162 -0
- package/site/.vitepress/dist/assets/chunks/framework.9Uv4PgnO.js +18 -0
- package/site/.vitepress/dist/assets/chunks/ganttDiagram-LVOFAZNH._TBJejxF.js +267 -0
- package/site/.vitepress/dist/assets/chunks/gitGraphDiagram-NY62KEGX.BmQODSWS.js +65 -0
- package/site/.vitepress/dist/assets/chunks/graph.BHWe3GDJ.js +1 -0
- package/site/.vitepress/dist/assets/chunks/infoDiagram-ER5ION4S.CbdOaGtv.js +2 -0
- package/site/.vitepress/dist/assets/chunks/init.Gi6I4Gst.js +1 -0
- package/site/.vitepress/dist/assets/chunks/journeyDiagram-XKPGCS4Q.B-PjYmDZ.js +139 -0
- package/site/.vitepress/dist/assets/chunks/kanban-definition-3W4ZIXB7.Bc_8e9KR.js +89 -0
- package/site/.vitepress/dist/assets/chunks/katex.BbEIqZs1.js +261 -0
- package/site/.vitepress/dist/assets/chunks/layout.hswMW8l0.js +1 -0
- package/site/.vitepress/dist/assets/chunks/linear.CUHYPplj.js +1 -0
- package/site/.vitepress/dist/assets/chunks/mindmap-definition-VGOIOE7T.CvIaZI8e.js +68 -0
- package/site/.vitepress/dist/assets/chunks/ordinal.BYWQX77i.js +1 -0
- package/site/.vitepress/dist/assets/chunks/pieDiagram-ADFJNKIX.BSTQM2Ms.js +30 -0
- package/site/.vitepress/dist/assets/chunks/quadrantDiagram-AYHSOK5B.CkEJjNYC.js +7 -0
- package/site/.vitepress/dist/assets/chunks/requirementDiagram-UZGBJVZJ.QsTahBza.js +64 -0
- package/site/.vitepress/dist/assets/chunks/sankeyDiagram-TZEHDZUN.NRsUNMzF.js +10 -0
- package/site/.vitepress/dist/assets/chunks/sequenceDiagram-WL72ISMW.rq-YLOb-.js +145 -0
- package/site/.vitepress/dist/assets/chunks/stateDiagram-FKZM4ZOC.BseVQjcW.js +1 -0
- package/site/.vitepress/dist/assets/chunks/stateDiagram-v2-4FDKWEC3.CH4mdaj_.js +1 -0
- package/site/.vitepress/dist/assets/chunks/theme.Jp0RA4YE.js +2 -0
- package/site/.vitepress/dist/assets/chunks/timeline-definition-IT6M3QCI.N8DNMk16.js +61 -0
- package/site/.vitepress/dist/assets/chunks/treemap-KMMF4GRG.CAwkr_aP.js +128 -0
- package/site/.vitepress/dist/assets/chunks/virtual_mermaid-config.DDnGl6nM.js +1 -0
- package/site/.vitepress/dist/assets/chunks/xychartDiagram-PRI3JC2R.CF4KVQhG.js +7 -0
- package/site/.vitepress/dist/assets/contributing.md.gqIMCtVI.js +1 -0
- package/site/.vitepress/dist/assets/contributing.md.gqIMCtVI.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs.md.hvbqYbFY.js +1 -0
- package/site/.vitepress/dist/assets/docs.md.hvbqYbFY.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced.md.D048cxnq.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced.md.D048cxnq.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_lifecycles.md.BICPL-da.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_lifecycles.md.BICPL-da.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_redirects.md.BMha6D3W.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_redirects.md.BMha6D3W.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_routing.md.Cv63UDJF.js +1 -0
- package/site/.vitepress/dist/assets/docs_advanced_routing.md.Cv63UDJF.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts.md.Clwx81Hz.js +3 -0
- package/site/.vitepress/dist/assets/docs_concepts.md.Clwx81Hz.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_realtime.md.CBrMq5Ln.js +218 -0
- package/site/.vitepress/dist/assets/docs_concepts_realtime.md.CBrMq5Ln.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_rendering.md.BWr5Lxgn.js +24 -0
- package/site/.vitepress/dist/assets/docs_concepts_rendering.md.BWr5Lxgn.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_request-response.md.DhplzNqt.js +4 -0
- package/site/.vitepress/dist/assets/docs_concepts_request-response.md.DhplzNqt.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_routing.md.C2KO1eAu.js +228 -0
- package/site/.vitepress/dist/assets/docs_concepts_routing.md.C2KO1eAu.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_state.md.CtbMVS_K.js +10 -0
- package/site/.vitepress/dist/assets/docs_concepts_state.md.CtbMVS_K.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_concepts_templates.md.4i6jQcYw.js +15 -0
- package/site/.vitepress/dist/assets/docs_concepts_templates.md.4i6jQcYw.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_getting-started.md.CNGtwB_L.js +75 -0
- package/site/.vitepress/dist/assets/docs_getting-started.md.CNGtwB_L.lean.js +1 -0
- package/site/.vitepress/dist/assets/docs_tech-stack.md.xiWGQstL.js +1 -0
- package/site/.vitepress/dist/assets/docs_tech-stack.md.xiWGQstL.lean.js +1 -0
- package/site/.vitepress/dist/assets/examples.md.BqDfJd4G.js +1 -0
- package/site/.vitepress/dist/assets/examples.md.BqDfJd4G.lean.js +1 -0
- package/site/.vitepress/dist/assets/examples_pwa.md.DREN7J2F.js +1 -0
- package/site/.vitepress/dist/assets/examples_pwa.md.DREN7J2F.lean.js +1 -0
- package/site/.vitepress/dist/assets/examples_web.md.DUhZ0IQL.js +1 -0
- package/site/.vitepress/dist/assets/examples_web.md.DUhZ0IQL.lean.js +1 -0
- package/site/.vitepress/dist/assets/faq.md.DtfXaXUI.js +1 -0
- package/site/.vitepress/dist/assets/faq.md.DtfXaXUI.lean.js +1 -0
- package/site/.vitepress/dist/assets/guides.md.BVdQyeU-.js +1 -0
- package/site/.vitepress/dist/assets/guides.md.BVdQyeU-.lean.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-auth.md.DNFuRudp.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-auth.md.DNFuRudp.lean.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-file-upload.md.DRbRLk7h.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-file-upload.md.DRbRLk7h.lean.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-service-worker.md.B0wEVcQw.js +1 -0
- package/site/.vitepress/dist/assets/guides_guide-service-worker.md.B0wEVcQw.lean.js +1 -0
- package/site/.vitepress/dist/assets/guides_tutorial-1-todo.md.D9ket3Re.js +3 -0
- package/site/.vitepress/dist/assets/guides_tutorial-1-todo.md.D9ket3Re.lean.js +1 -0
- package/site/.vitepress/dist/assets/index.md.DB-CsGEX.js +1 -0
- package/site/.vitepress/dist/assets/index.md.DB-CsGEX.lean.js +1 -0
- package/site/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/site/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/site/.vitepress/dist/assets/recipes_realtime.md.CX1Vs2FD.js +1 -0
- package/site/.vitepress/dist/assets/recipes_realtime.md.CX1Vs2FD.lean.js +1 -0
- package/site/.vitepress/dist/assets/recipes_streaming.md.C7GFShgF.js +5 -0
- package/site/.vitepress/dist/assets/recipes_streaming.md.C7GFShgF.lean.js +1 -0
- package/site/.vitepress/dist/assets/reference_cli.md.DERqaQJm.js +1 -0
- package/site/.vitepress/dist/assets/reference_cli.md.DERqaQJm.lean.js +1 -0
- package/site/.vitepress/dist/assets/reference_config.md.DI_yG-7N.js +1 -0
- package/site/.vitepress/dist/assets/reference_config.md.DI_yG-7N.lean.js +1 -0
- package/site/.vitepress/dist/assets/reference_tools.md.DZxjdVFX.js +1 -0
- package/site/.vitepress/dist/assets/reference_tools.md.DZxjdVFX.lean.js +1 -0
- package/site/.vitepress/dist/assets/style.BD0LzINo.css +1 -0
- package/site/.vitepress/dist/contributing.html +55 -0
- package/site/.vitepress/dist/docs/advanced/lifecycles.html +55 -0
- package/site/.vitepress/dist/docs/advanced/redirects.html +55 -0
- package/site/.vitepress/dist/docs/advanced/routing.html +55 -0
- package/site/.vitepress/dist/docs/advanced.html +55 -0
- package/site/.vitepress/dist/docs/concepts/realtime.html +272 -0
- package/site/.vitepress/dist/docs/concepts/rendering.html +78 -0
- package/site/.vitepress/dist/docs/concepts/request-response.html +58 -0
- package/site/.vitepress/dist/docs/concepts/routing.html +282 -0
- package/site/.vitepress/dist/docs/concepts/state.html +64 -0
- package/site/.vitepress/dist/docs/concepts/templates.html +69 -0
- package/site/.vitepress/dist/docs/concepts.html +57 -0
- package/site/.vitepress/dist/docs/getting-started.html +129 -0
- package/site/.vitepress/dist/docs/tech-stack.html +55 -0
- package/site/.vitepress/dist/docs.html +55 -0
- package/site/.vitepress/dist/examples/pwa.html +55 -0
- package/site/.vitepress/dist/examples/web.html +55 -0
- package/site/.vitepress/dist/examples.html +55 -0
- package/site/.vitepress/dist/faq.html +55 -0
- package/site/.vitepress/dist/guides/guide-auth.html +55 -0
- package/site/.vitepress/dist/guides/guide-file-upload.html +55 -0
- package/site/.vitepress/dist/guides/guide-service-worker.html +55 -0
- package/site/.vitepress/dist/guides/tutorial-1-todo.html +57 -0
- package/site/.vitepress/dist/guides.html +55 -0
- package/site/.vitepress/dist/hashmap.json +1 -0
- package/site/.vitepress/dist/img/brand/logo-670x670.png +0 -0
- package/site/.vitepress/dist/index.html +55 -0
- package/site/.vitepress/dist/recipes/realtime.html +55 -0
- package/site/.vitepress/dist/recipes/streaming.html +59 -0
- package/site/.vitepress/dist/reference/cli.html +55 -0
- package/site/.vitepress/dist/reference/config.html +55 -0
- package/site/.vitepress/dist/reference/tools.html +55 -0
- package/site/.vitepress/dist/vp-icons.css +1 -0
- package/site/.vitepress/cache/deps/@braintree_sanitize-url 2.js +0 -93
- package/site/.vitepress/cache/deps/@braintree_sanitize-url.js 2.map +0 -7
- package/site/.vitepress/cache/deps/_metadata 2.json +0 -85
- package/site/.vitepress/cache/deps/_metadata.json +0 -85
- package/site/.vitepress/cache/deps/chunk-BUSYA2B4 2.js +0 -9
- package/site/.vitepress/cache/deps/chunk-BUSYA2B4.js 2.map +0 -7
- package/site/.vitepress/cache/deps/chunk-Q2AYPHVK 2.js +0 -9719
- package/site/.vitepress/cache/deps/chunk-Q2AYPHVK.js 2.map +0 -7
- package/site/.vitepress/cache/deps/chunk-QAXAIFA7 2.js +0 -12705
- package/site/.vitepress/cache/deps/chunk-QAXAIFA7.js 2.map +0 -7
- package/site/.vitepress/cache/deps/cytoscape 2.js +0 -30278
- package/site/.vitepress/cache/deps/cytoscape-cose-bilkent 2.js +0 -4710
- package/site/.vitepress/cache/deps/cytoscape-cose-bilkent.js 2.map +0 -7
- package/site/.vitepress/cache/deps/cytoscape.js 2.map +0 -7
- package/site/.vitepress/cache/deps/dayjs 2.js +0 -285
- package/site/.vitepress/cache/deps/dayjs.js 2.map +0 -7
- package/site/.vitepress/cache/deps/debug 2.js +0 -453
- package/site/.vitepress/cache/deps/debug.js 2.map +0 -7
- package/site/.vitepress/cache/deps/package 2.json +0 -3
- package/site/.vitepress/cache/deps/vitepress___@vue_devtools-api 2.js +0 -4507
- package/site/.vitepress/cache/deps/vitepress___@vue_devtools-api.js 2.map +0 -7
- package/site/.vitepress/cache/deps/vitepress___@vueuse_core 2.js +0 -584
- package/site/.vitepress/cache/deps/vitepress___@vueuse_core.js 2.map +0 -7
- package/site/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap 2.js +0 -1166
- package/site/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js 2.map +0 -7
- package/site/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js 2.js +0 -1667
- package/site/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js 2.map +0 -7
- package/site/.vitepress/cache/deps/vitepress___minisearch 2.js +0 -1815
- package/site/.vitepress/cache/deps/vitepress___minisearch.js 2.map +0 -7
- package/site/.vitepress/cache/deps/vue 2.js +0 -344
- package/site/.vitepress/cache/deps/vue.js 2.map +0 -7
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/@braintree_sanitize-url.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/@braintree_sanitize-url.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-BUSYA2B4.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-BUSYA2B4.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-Q2AYPHVK.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-Q2AYPHVK.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-QAXAIFA7.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/chunk-QAXAIFA7.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/cytoscape-cose-bilkent.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/cytoscape-cose-bilkent.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/cytoscape.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/cytoscape.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/dayjs.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/dayjs.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/debug.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/debug.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/package.json +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vue_devtools-api.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vue_devtools-api.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vueuse_core.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vueuse_core.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vueuse_integrations_useFocusTrap.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___@vueuse_integrations_useFocusTrap.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___mark__js_src_vanilla__js.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___mark__js_src_vanilla__js.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___minisearch.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vitepress___minisearch.js.map +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vue.js +0 -0
- /package/site/.vitepress/cache/{deps → deps_temp_9b107c53}/vue.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as n,o as e,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const D=JSON.parse('{"title":"Webflo","description":"","frontmatter":{},"headers":[],"relativePath":"-/docs.old.md","filePath":"-/docs.old.md"}'),o={name:"-/docs.old.md"};function t(p,s,c,r,i,y){return e(),n("div",null,[...s[0]||(s[0]=[l("",290)])])}const d=a(o,[["render",t]]);export{D as __pageData,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as i,o as t,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const g=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api.md","filePath":"api.md"}'),r={name:"api.md"};function o(n,e,s,f,h,p){return t(),i("div",null,[...e[0]||(e[0]=[l('<h1 id="api-reference" tabindex="-1">API Reference <a class="header-anchor" href="#api-reference" aria-label="Permalink to "API Reference""></a></h1><p>Browse the API by area.</p><h2 id="routing" tabindex="-1">Routing <a class="header-anchor" href="#routing" aria-label="Permalink to "Routing""></a></h2><ul><li><a href="/api/webflo-routing/handler">Handler</a></li><li><a href="/api/webflo-routing/HttpEvent">HttpEvent</a></li><li><a href="/api/webflo-routing/handler/next">next</a></li><li><a href="/api/webflo-routing/handler/fetch">fetch (handler)</a></li><li><a href="/api/webflo-routing/HttpState">HttpState</a></li><li><a href="/api/webflo-routing/HttpSession">HttpSession</a></li><li><a href="/api/webflo-routing/HttpUser">HttpUser</a></li><li><a href="/api/webflo-routing/HttpCookies">HttpCookies</a></li></ul><h2 id="fetch" tabindex="-1">Fetch <a class="header-anchor" href="#fetch" aria-label="Permalink to "Fetch""></a></h2><ul><li><a href="/api/webflo-fetch/fetch">fetch</a></li><li><a href="/api/webflo-fetch/Request">Request</a></li><li><a href="/api/webflo-fetch/Response">Response</a></li><li><a href="/api/webflo-fetch/LiveResponse">LiveResponse</a></li><li><a href="/api/webflo-fetch/FormData">FormData</a></li><li><a href="/api/webflo-fetch/Headers">Headers</a></li></ul><h2 id="messaging" tabindex="-1">Messaging <a class="header-anchor" href="#messaging" aria-label="Permalink to "Messaging""></a></h2><ul><li><a href="/api/webflo-messaging/MessageChannel">MessageChannel</a></li><li><a href="/api/webflo-messaging/MessagePort">MessagePort</a></li><li><a href="/api/webflo-messaging/MessageEvent">MessageEvent</a></li></ul>',8)])])}const u=a(r,[["render",o]]);export{g as __pageData,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as i,o as t,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const g=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api.md","filePath":"api.md"}'),r={name:"api.md"};function o(n,e,s,f,h,p){return t(),i("div",null,[...e[0]||(e[0]=[l("",8)])])}const u=a(r,[["render",o]]);export{g as __pageData,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/FormData.md","filePath":"api/webflo-fetch/FormData.md"}'),o={name:"api/webflo-fetch/FormData.md"};function r(c,s,n,f,p,i){return a(),t("div")}const d=e(o,[["render",r]]);export{_ as __pageData,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/FormData.md","filePath":"api/webflo-fetch/FormData.md"}'),o={name:"api/webflo-fetch/FormData.md"};function r(c,s,n,f,p,i){return a(),t("div")}const d=e(o,[["render",r]]);export{_ as __pageData,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Headers.md","filePath":"api/webflo-fetch/Headers.md"}'),r={name:"api/webflo-fetch/Headers.md"};function o(s,c,n,d,f,p){return a(),t("div")}const l=e(r,[["render",o]]);export{_ as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Headers.md","filePath":"api/webflo-fetch/Headers.md"}'),r={name:"api/webflo-fetch/Headers.md"};function o(s,c,n,d,f,p){return a(),t("div")}const l=e(r,[["render",o]]);export{_ as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/LiveResponse.md","filePath":"api/webflo-fetch/LiveResponse.md"}'),s={name:"api/webflo-fetch/LiveResponse.md"};function a(n,c,p,r,i,f){return o(),t("div")}const l=e(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/LiveResponse.md","filePath":"api/webflo-fetch/LiveResponse.md"}'),s={name:"api/webflo-fetch/LiveResponse.md"};function a(n,c,p,r,i,f){return o(),t("div")}const l=e(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Request.md","filePath":"api/webflo-fetch/Request.md"}'),o={name:"api/webflo-fetch/Request.md"};function s(c,r,n,f,p,i){return a(),t("div")}const l=e(o,[["render",s]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Request.md","filePath":"api/webflo-fetch/Request.md"}'),o={name:"api/webflo-fetch/Request.md"};function s(c,r,n,f,p,i){return a(),t("div")}const l=e(o,[["render",s]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Response.md","filePath":"api/webflo-fetch/Response.md"}'),s={name:"api/webflo-fetch/Response.md"};function a(n,c,p,r,f,i){return o(),t("div")}const l=e(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/Response.md","filePath":"api/webflo-fetch/Response.md"}'),s={name:"api/webflo-fetch/Response.md"};function a(n,c,p,r,f,i){return o(),t("div")}const l=e(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/fetch.md","filePath":"api/webflo-fetch/fetch.md"}'),c={name:"api/webflo-fetch/fetch.md"};function o(f,r,s,n,p,i){return a(),t("div")}const d=e(c,[["render",o]]);export{_ as __pageData,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,o as a}from"./chunks/framework.9Uv4PgnO.js";const _=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-fetch/fetch.md","filePath":"api/webflo-fetch/fetch.md"}'),c={name:"api/webflo-fetch/fetch.md"};function o(f,r,s,n,p,i){return a(),t("div")}const d=e(c,[["render",o]]);export{_ as __pageData,d as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpCookies.md","filePath":"api/webflo-routing/HttpCookies.md"}'),a={name:"api/webflo-routing/HttpCookies.md"};function r(i,s,n,p,c,f){return o(),e("div")}const l=t(a,[["render",r]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpCookies.md","filePath":"api/webflo-routing/HttpCookies.md"}'),a={name:"api/webflo-routing/HttpCookies.md"};function r(i,s,n,p,c,f){return o(),e("div")}const l=t(a,[["render",r]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as l,o,a2 as a}from"./chunks/framework.9Uv4PgnO.js";const v=JSON.parse('{"title":"HTTP Event","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent.md","filePath":"api/webflo-routing/HttpEvent.md"}'),i={name:"api/webflo-routing/HttpEvent.md"};function n(c,e,r,d,s,p){return o(),l("div",null,[...e[0]||(e[0]=[a('<h1 id="http-event" tabindex="-1">HTTP Event <a class="header-anchor" href="#http-event" aria-label="Permalink to "HTTP Event""></a></h1><p>The <code>event</code> object represents the request and provides access to all request data, state, and lifecycle helpers.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to "Properties""></a></h2><ul><li><code>event.request</code>: Standard Request object</li><li><code>event.url</code>: Enhanced URL object</li><li><code>event.cookies</code>, <code>event.session</code>, <code>event.user</code>: State interfaces</li><li><code>event.client</code>: Realtime messaging</li><li><code>event.signal</code>: AbortSignal</li><li><code>event.state</code>, <code>event.detail</code>, <code>event.sdk</code></li></ul><h2 id="methods" tabindex="-1">Methods <a class="header-anchor" href="#methods" aria-label="Permalink to "Methods""></a></h2><ul><li><code>event.waitUntil(promise)</code></li><li><a href="./HttpEvent/respondWith"><code>event.respondWith(data, ...)</code></a></li><li><code>event.clone(init)</code> / <code>event.extend(init)</code></li><li><code>event.abort()</code></li><li><code>event.poll(callback, opts)</code></li><li><code>event.lifeCycleComplete([promise])</code></li></ul><p>See <a href="/docs/concepts/lifecycle">Lifecycle</a> for context and <a href="/docs/concepts/realtime">Realtime</a> for live updates.</p><h2 id="lifecycle" tabindex="-1">Lifecycle <a class="header-anchor" href="#lifecycle" aria-label="Permalink to "Lifecycle""></a></h2><ul><li>HttpEvent.signal aborts when <ul><li>parent event's signal aborts</li><li>request's signal aborts</li><li>HttpEvent.abort() is called</li><li>handler returns, plus all handlers in subtree return; i.e. all handlers complete their lifecycle</li></ul></li><li>root HttpEvent is aborted on any of the above or when Realtime closes</li></ul>',9)])])}const u=t(i,[["render",n]]);export{v as __pageData,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as l,o,a2 as a}from"./chunks/framework.9Uv4PgnO.js";const v=JSON.parse('{"title":"HTTP Event","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent.md","filePath":"api/webflo-routing/HttpEvent.md"}'),i={name:"api/webflo-routing/HttpEvent.md"};function n(c,e,r,d,s,p){return o(),l("div",null,[...e[0]||(e[0]=[a("",9)])])}const u=t(i,[["render",n]]);export{v as __pageData,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as n,c as o,o as r,j as e,a}from"./chunks/framework.9Uv4PgnO.js";const m=JSON.parse('{"title":"event.respondWith()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/respondWith.md","filePath":"api/webflo-routing/HttpEvent/respondWith.md"}'),s={name:"api/webflo-routing/HttpEvent/respondWith.md"};function i(p,t,d,l,c,h){return r(),o("div",null,[...t[0]||(t[0]=[e("h1",{id:"event-respondwith",tabindex:"-1"},[e("code",null,"event.respondWith()"),a(),e("a",{class:"header-anchor",href:"#event-respondwith","aria-label":'Permalink to "`event.respondWith()`"'},"")],-1)])])}const v=n(s,[["render",i]]);export{m as __pageData,v as default};
|
package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_respondWith.md.aAxq-5Ie.lean.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as n,c as o,o as r,j as e,a}from"./chunks/framework.9Uv4PgnO.js";const m=JSON.parse('{"title":"event.respondWith()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/respondWith.md","filePath":"api/webflo-routing/HttpEvent/respondWith.md"}'),s={name:"api/webflo-routing/HttpEvent/respondWith.md"};function i(p,t,d,l,c,h){return r(),o("div",null,[...t[0]||(t[0]=[e("h1",{id:"event-respondwith",tabindex:"-1"},[e("code",null,"event.respondWith()"),a(),e("a",{class:"header-anchor",href:"#event-respondwith","aria-label":'Permalink to "`event.respondWith()`"'},"")],-1)])])}const v=n(s,[["render",i]]);export{m as __pageData,v as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as n,o as i,j as t,a as o}from"./chunks/framework.9Uv4PgnO.js";const u=JSON.parse('{"title":"event.waitUntil()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/waitUntil.md","filePath":"api/webflo-routing/HttpEvent/waitUntil.md"}'),r={name:"api/webflo-routing/HttpEvent/waitUntil.md"};function l(s,e,p,c,d,f){return i(),n("div",null,[...e[0]||(e[0]=[t("h1",{id:"event-waituntil",tabindex:"-1"},[t("code",null,"event.waitUntil()"),o(),t("a",{class:"header-anchor",href:"#event-waituntil","aria-label":'Permalink to "`event.waitUntil()`"'},"")],-1)])])}const m=a(r,[["render",l]]);export{u as __pageData,m as default};
|
package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntil.md.DyQZLhPR.lean.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as n,o as i,j as t,a as o}from"./chunks/framework.9Uv4PgnO.js";const u=JSON.parse('{"title":"event.waitUntil()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/waitUntil.md","filePath":"api/webflo-routing/HttpEvent/waitUntil.md"}'),r={name:"api/webflo-routing/HttpEvent/waitUntil.md"};function l(s,e,p,c,d,f){return i(),n("div",null,[...e[0]||(e[0]=[t("h1",{id:"event-waituntil",tabindex:"-1"},[t("code",null,"event.waitUntil()"),o(),t("a",{class:"header-anchor",href:"#event-waituntil","aria-label":'Permalink to "`event.waitUntil()`"'},"")],-1)])])}const m=a(r,[["render",l]]);export{u as __pageData,m as default};
|
package/site/.vitepress/dist/assets/api_webflo-routing_HttpEvent_waitUntilNavigate.md.DKLylwhl.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as i,o as n,j as t,a as o}from"./chunks/framework.9Uv4PgnO.js";const f=JSON.parse('{"title":"event.waitUntilNavigate()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/waitUntilNavigate.md","filePath":"api/webflo-routing/HttpEvent/waitUntilNavigate.md"}'),r={name:"api/webflo-routing/HttpEvent/waitUntilNavigate.md"};function l(s,e,v,p,c,d){return n(),i("div",null,[...e[0]||(e[0]=[t("h1",{id:"event-waituntilnavigate",tabindex:"-1"},[t("code",null,"event.waitUntilNavigate()"),o(),t("a",{class:"header-anchor",href:"#event-waituntilnavigate","aria-label":'Permalink to "`event.waitUntilNavigate()`"'},"")],-1)])])}const w=a(r,[["render",l]]);export{f as __pageData,w as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as a,c as i,o as n,j as t,a as o}from"./chunks/framework.9Uv4PgnO.js";const f=JSON.parse('{"title":"event.waitUntilNavigate()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpEvent/waitUntilNavigate.md","filePath":"api/webflo-routing/HttpEvent/waitUntilNavigate.md"}'),r={name:"api/webflo-routing/HttpEvent/waitUntilNavigate.md"};function l(s,e,v,p,c,d){return n(),i("div",null,[...e[0]||(e[0]=[t("h1",{id:"event-waituntilnavigate",tabindex:"-1"},[t("code",null,"event.waitUntilNavigate()"),o(),t("a",{class:"header-anchor",href:"#event-waituntilnavigate","aria-label":'Permalink to "`event.waitUntilNavigate()`"'},"")],-1)])])}const w=a(r,[["render",l]]);export{f as __pageData,w as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpSession.md","filePath":"api/webflo-routing/HttpSession.md"}'),s={name:"api/webflo-routing/HttpSession.md"};function a(n,r,i,p,c,f){return o(),e("div")}const l=t(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpSession.md","filePath":"api/webflo-routing/HttpSession.md"}'),s={name:"api/webflo-routing/HttpSession.md"};function a(n,r,i,p,c,f){return o(),e("div")}const l=t(s,[["render",a]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o as a}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpState.md","filePath":"api/webflo-routing/HttpState.md"}'),o={name:"api/webflo-routing/HttpState.md"};function r(n,p,i,s,c,f){return a(),e("div")}const l=t(o,[["render",r]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o as a}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpState.md","filePath":"api/webflo-routing/HttpState.md"}'),o={name:"api/webflo-routing/HttpState.md"};function r(n,p,i,s,c,f){return a(),e("div")}const l=t(o,[["render",r]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o as r}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpUser.md","filePath":"api/webflo-routing/HttpUser.md"}'),a={name:"api/webflo-routing/HttpUser.md"};function o(s,n,p,i,c,f){return r(),e("div")}const l=t(a,[["render",o]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as e,o as r}from"./chunks/framework.9Uv4PgnO.js";const d=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/HttpUser.md","filePath":"api/webflo-routing/HttpUser.md"}'),a={name:"api/webflo-routing/HttpUser.md"};function o(s,n,p,i,c,f){return r(),e("div")}const l=t(a,[["render",o]]);export{d as __pageData,l as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{_ as t,c as s,o as a,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const h=JSON.parse('{"title":"Handler API","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler.md","filePath":"api/webflo-routing/handler.md"}'),n={name:"api/webflo-routing/handler.md"};function o(r,e,p,c,i,d){return a(),s("div",null,[...e[0]||(e[0]=[l(`<h1 id="handler-api" tabindex="-1">Handler API <a class="header-anchor" href="#handler-api" aria-label="Permalink to "Handler API""></a></h1><p>Handlers are the entry point for all requests in Webflo. This page documents the formal contract for handler functions.</p><h2 id="signature" tabindex="-1">Signature <a class="header-anchor" href="#signature" aria-label="Permalink to "Signature""></a></h2><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#89DDFF;font-style:italic;"> default</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#89DDFF;">(</span><span style="color:#BABED8;font-style:italic;">event</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> next</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> fetch</span><span style="color:#89DDFF;">)</span><span style="color:#89DDFF;"> {</span><span style="color:#676E95;font-style:italic;"> /* ... */</span><span style="color:#89DDFF;"> }</span></span></code></pre></div><h2 id="naming" tabindex="-1">Naming <a class="header-anchor" href="#naming" aria-label="Permalink to "Naming""></a></h2><p>A route may provide named exports to map specific HTTP requests to specific handlers:</p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#82AAFF;"> GET</span><span style="color:#89DDFF;">(</span><span style="color:#BABED8;font-style:italic;">event</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> next</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> fetch</span><span style="color:#89DDFF;">)</span><span style="color:#89DDFF;"> {</span><span style="color:#676E95;font-style:italic;"> /* ... */</span><span style="color:#89DDFF;"> }</span></span>
|
|
2
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#82AAFF;"> POST</span><span style="color:#89DDFF;">(</span><span style="color:#BABED8;font-style:italic;">event</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> next</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;font-style:italic;"> fetch</span><span style="color:#89DDFF;">)</span><span style="color:#89DDFF;"> {</span><span style="color:#676E95;font-style:italic;"> /* ... */</span><span style="color:#89DDFF;"> }</span></span>
|
|
3
|
+
<span class="line"><span style="color:#676E95;font-style:italic;">// PUT, PATCH, DELETE, OPTIONS, HEAD are also supported</span></span></code></pre></div><table tabindex="0"><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>GET</code></td><td style="text-align:left;">Handle HTTP GET requests</td></tr><tr><td style="text-align:left;"><code>POST</code></td><td style="text-align:left;">Handle HTTP POST requests</td></tr><tr><td style="text-align:left;"><code>PUT</code></td><td style="text-align:left;">Handle HTTP PUT requests</td></tr><tr><td style="text-align:left;"><code>PATCH</code></td><td style="text-align:left;">Handle HTTP PATCH requests</td></tr><tr><td style="text-align:left;"><code>DELETE</code></td><td style="text-align:left;">Handle HTTP DELETE requests</td></tr><tr><td style="text-align:left;"><code>OPTIONS</code></td><td style="text-align:left;">Handle HTTP OPTIONS requests</td></tr><tr><td style="text-align:left;"><code>HEAD</code></td><td style="text-align:left;">Handle HTTP HEAD requests</td></tr></tbody></table><p>If a named export is not provided for an incoming method, Webflo falls back to the <code>default</code> export, if present.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><table tabindex="0"><thead><tr><th style="text-align:left;">Parameter</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>event</code></td><td style="text-align:left;"><a href="/api/webflo-routing/HttpEvent"><code>HttpEvent</code></a></td><td style="text-align:left;">Current HTTP event.</td></tr><tr><td style="text-align:left;"><code>next</code></td><td style="text-align:left;"><a href="/api/webflo-routing/handler/next"><code>next</code></a></td><td style="text-align:left;">Control delegation function.</td></tr><tr><td style="text-align:left;"><code>fetch</code></td><td style="text-align:left;"><a href="/api/webflo-routing/handler/fetch"><code>fetch</code></a></td><td style="text-align:left;">Context-aware fetch API for inbound and outbound calls.</td></tr></tbody></table><h2 id="the-this-context" tabindex="-1">The <code>this</code> Context <a class="header-anchor" href="#the-this-context" aria-label="Permalink to "The \`this\` Context""></a></h2><p>Contextual properties are available on the <code>this</code> context:</p><table tabindex="0"><thead><tr><th style="text-align:left;">Property</th><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>this.stepname</code></td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">The current directory segment being handled.</td></tr><tr><td style="text-align:left;"><code>this.pathname</code></td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">The current URL pathname up to the active step.</td></tr><tr><td style="text-align:left;"><code>this.filename</code></td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">The filename of the executing handler (server-side only).</td></tr></tbody></table><div class="info custom-block"><p class="custom-block-title">See also</p><p><a href="/api/webflo-routing/handler/next#properties"><code>next</code></a></p></div><h2 id="return-types" tabindex="-1">Return Types <a class="header-anchor" href="#return-types" aria-label="Permalink to "Return Types""></a></h2><p>Handlers can return one of the following:</p><table tabindex="0"><thead><tr><th style="text-align:left;">Type</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;">Plain value</td><td style="text-align:left;">A JSON-serializable value or plain object used as the page's data binding.</td></tr><tr><td style="text-align:left;"><code>Response</code></td><td style="text-align:left;">A standard Web Fetch API <code>Response</code>.</td></tr><tr><td style="text-align:left;"><code>LiveResponse</code></td><td style="text-align:left;">A streaming/live response that can emit multiple payloads over time.</td></tr></tbody></table><h2 id="return-styles" tabindex="-1">Return Styles <a class="header-anchor" href="#return-styles" aria-label="Permalink to "Return Styles""></a></h2><p>You can deliver values in two ways:</p><table tabindex="0"><thead><tr><th style="text-align:left;">Style</th><th style="text-align:left;">When to use</th></tr></thead><tbody><tr><td style="text-align:left;"><code>return</code></td><td style="text-align:left;">Return a single value (<code>object</code>, <code>Response</code>, or <code>LiveResponse</code>).</td></tr><tr><td style="text-align:left;"><code>event.respondWith()</code></td><td style="text-align:left;">Emit one or more responses, including progressive/streamed updates. See <a href="/docs/concepts/realtime">/docs/concepts/realtime</a>.</td></tr></tbody></table><h3 id="event-respondwith-forms" tabindex="-1"><code>event.respondWith()</code> forms <a class="header-anchor" href="#event-respondwith-forms" aria-label="Permalink to "\`event.respondWith()\` forms""></a></h3><ul><li><code>event.respondWith(data)</code> — immediately deliver <code>data</code>.</li><li><code>event.respondWith(data, { done: false })</code> — deliver <code>data</code> and keep the channel open for more.</li><li><code>event.respondWith(data, (proxy) => { /* write to proxy */ })</code> — low-level streaming; complete when callback resolves or another <code>respondWith</code> is called.</li></ul><h2 id="generator-and-live-functions" tabindex="-1">Generator and Live Functions <a class="header-anchor" href="#generator-and-live-functions" aria-label="Permalink to "Generator and Live Functions""></a></h2><p>Handlers may be expressed as generators or "live" functions to naturally produce multiple values over time.</p><ul><li>Generator: <code>export function* GET(event) { yield {...}; return {...}; }</code></li><li>Live function: <code>export live function GET(event) { return {...} }</code><br> See <a href="/docs/concepts/realtime">/docs/concepts/realtime</a> for details.</li></ul><h2 id="lifecycle" tabindex="-1">Lifecycle <a class="header-anchor" href="#lifecycle" aria-label="Permalink to "Lifecycle""></a></h2><ul><li>Streams, generators, and live functions end when <code>HttpEvent.signal</code> aborts.</li><li>The root <code>HttpEvent</code> is aborted when all handlers in the subtree complete, the request is aborted, or realtime closes.</li></ul><h2 id="examples" tabindex="-1">Examples <a class="header-anchor" href="#examples" aria-label="Permalink to "Examples""></a></h2><p>Return plain data (rendered into templates via <code>document.bindings.data</code>):</p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#82AAFF;"> GET</span><span style="color:#89DDFF;">(</span><span style="color:#BABED8;font-style:italic;">event</span><span style="color:#89DDFF;">)</span><span style="color:#89DDFF;"> {</span></span>
|
|
4
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;"> return</span><span style="color:#89DDFF;"> {</span><span style="color:#F07178;"> title</span><span style="color:#89DDFF;">:</span><span style="color:#89DDFF;"> '</span><span style="color:#C3E88D;">Hello</span><span style="color:#89DDFF;">'</span><span style="color:#89DDFF;">,</span><span style="color:#F07178;"> greeting</span><span style="color:#89DDFF;">:</span><span style="color:#89DDFF;"> '</span><span style="color:#C3E88D;">Hello World!</span><span style="color:#89DDFF;">'</span><span style="color:#89DDFF;"> };</span></span>
|
|
5
|
+
<span class="line"><span style="color:#89DDFF;">}</span></span></code></pre></div><p>Return a <code>Response</code>:</p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#82AAFF;"> GET</span><span style="color:#89DDFF;">()</span><span style="color:#89DDFF;"> {</span></span>
|
|
6
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;"> return</span><span style="color:#BABED8;"> Response</span><span style="color:#89DDFF;">.</span><span style="color:#82AAFF;">json</span><span style="color:#F07178;">(</span><span style="color:#89DDFF;">{</span><span style="color:#F07178;"> ok</span><span style="color:#89DDFF;">:</span><span style="color:#FF9CAC;"> true</span><span style="color:#89DDFF;"> }</span><span style="color:#F07178;">)</span><span style="color:#89DDFF;">;</span></span>
|
|
7
|
+
<span class="line"><span style="color:#89DDFF;">}</span></span></code></pre></div><p>Progressively stream values:</p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">export</span><span style="color:#C792EA;"> async</span><span style="color:#C792EA;"> function</span><span style="color:#82AAFF;"> GET</span><span style="color:#89DDFF;">(</span><span style="color:#BABED8;font-style:italic;">event</span><span style="color:#89DDFF;">)</span><span style="color:#89DDFF;"> {</span></span>
|
|
8
|
+
<span class="line"><span style="color:#BABED8;"> event</span><span style="color:#89DDFF;">.</span><span style="color:#82AAFF;">respondWith</span><span style="color:#F07178;">(</span><span style="color:#89DDFF;">{</span><span style="color:#F07178;"> step</span><span style="color:#89DDFF;">:</span><span style="color:#F78C6C;"> 1</span><span style="color:#89DDFF;"> },</span><span style="color:#89DDFF;"> {</span><span style="color:#F07178;"> done</span><span style="color:#89DDFF;">:</span><span style="color:#FF9CAC;"> false</span><span style="color:#89DDFF;"> }</span><span style="color:#F07178;">)</span><span style="color:#89DDFF;">;</span></span>
|
|
9
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;"> await</span><span style="color:#89DDFF;"> new</span><span style="color:#FFCB6B;"> Promise</span><span style="color:#F07178;">(</span><span style="color:#BABED8;font-style:italic;">r</span><span style="color:#C792EA;"> =></span><span style="color:#82AAFF;"> setTimeout</span><span style="color:#F07178;">(</span><span style="color:#BABED8;">r</span><span style="color:#89DDFF;">,</span><span style="color:#F78C6C;"> 200</span><span style="color:#F07178;">))</span><span style="color:#89DDFF;">;</span></span>
|
|
10
|
+
<span class="line"><span style="color:#BABED8;"> event</span><span style="color:#89DDFF;">.</span><span style="color:#82AAFF;">respondWith</span><span style="color:#F07178;">(</span><span style="color:#89DDFF;">{</span><span style="color:#F07178;"> step</span><span style="color:#89DDFF;">:</span><span style="color:#F78C6C;"> 2</span><span style="color:#89DDFF;"> }</span><span style="color:#F07178;">)</span><span style="color:#89DDFF;">;</span><span style="color:#676E95;font-style:italic;"> // done by default</span></span>
|
|
11
|
+
<span class="line"><span style="color:#89DDFF;">}</span></span></code></pre></div>`,35)])])}const F=t(n,[["render",o]]);export{h as __pageData,F as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t,c as s,o as a,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const h=JSON.parse('{"title":"Handler API","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler.md","filePath":"api/webflo-routing/handler.md"}'),n={name:"api/webflo-routing/handler.md"};function o(r,e,p,c,i,d){return a(),s("div",null,[...e[0]||(e[0]=[l("",35)])])}const F=t(n,[["render",o]]);export{h as __pageData,F as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as a,o as n,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const f=JSON.parse('{"title":"Handler::fetch()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler/fetch.md","filePath":"api/webflo-routing/handler/fetch.md"}'),s={name:"api/webflo-routing/handler/fetch.md"};function r(o,t,d,i,c,h){return n(),a("div",null,[...t[0]||(t[0]=[l('<h1 id="handler-fetch" tabindex="-1">Handler::<code>fetch()</code> <a class="header-anchor" href="#handler-fetch" aria-label="Permalink to "Handler::`fetch()`""></a></h1><p>Make inbound or outbound calls.</p><h2 id="signature" tabindex="-1">Signature <a class="header-anchor" href="#signature" aria-label="Permalink to "Signature""></a></h2><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#676E95;font-style:italic;">// url can be string or URL</span></span>\n<span class="line"><span style="color:#676E95;font-style:italic;">// url can be relative when string</span></span>\n<span class="line"><span style="color:#676E95;font-style:italic;">// init can be Request instance or Request init</span></span>\n<span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> fetch</span><span style="color:#BABED8;">(url</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;"> init</span><span style="color:#89DDFF;">?</span><span style="color:#BABED8;">);</span></span>\n<span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> fetch</span><span style="color:#BABED8;">(request);</span></span></code></pre></div><h2 id="arguments" tabindex="-1">Arguments <a class="header-anchor" href="#arguments" aria-label="Permalink to "Arguments""></a></h2><table tabindex="0"><thead><tr><th style="text-align:left;">Argument</th><th style="text-align:left;">Tyoe</th><th style="text-align:left;">Default</th><th style="text-align:left;">Description</th></tr></thead></table><h2 id="return-value" tabindex="-1">Return Value <a class="header-anchor" href="#return-value" aria-label="Permalink to "Return Value""></a></h2><p>If relative, behaves and returns as <a href="./next"><code>next()</code></a>:</p><table tabindex="0"><thead><tr><th style="text-align:left;">Condition</th><th style="text-align:left;">Return type</th></tr></thead><tbody><tr><td style="text-align:left;">Step handler is generator function</td><td style="text-align:left;"><code>Generator</code> object</td></tr><tr><td style="text-align:left;">Step handler is Quantum function</td><td style="text-align:left;"><code>State</code> object</td></tr><tr><td style="text-align:left;">Step handler uses <code>event.respondWith()</code></td><td style="text-align:left;"><code>LiveResponse</code></td></tr><tr><td style="text-align:left;">Step handler returns <code>LiveResponse</code></td><td style="text-align:left;"><code>LiveResponse</code></td></tr><tr><td style="text-align:left;">Step handler returns <code>Response</code></td><td style="text-align:left;"><code>Response</code></td></tr><tr><td style="text-align:left;">Step handler returns any other value.</td><td style="text-align:left;">That value</td></tr></tbody></table><p>Otherwise, behaves and returns as standard <code>fetch()</code>.</p><h2 id="differences-from-next" tabindex="-1">Differences from <code>next()</code>: <a class="header-anchor" href="#differences-from-next" aria-label="Permalink to "Differences from `next()`:""></a></h2><p>intro</p><table tabindex="0"><thead><tr><th style="text-align:left;"><code>next()</code></th><th style="text-align:left;"><code>fetch()</code></th></tr></thead><tbody><tr><td style="text-align:left;">Makes only inbound calls.</td><td style="text-align:left;">Can make both inbound or outbound calls.</td></tr><tr><td style="text-align:left;">Inherits current request.</td><td style="text-align:left;"></td></tr></tbody></table>',13)])])}const u=e(s,[["render",r]]);export{f as __pageData,u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as a,o as n,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const f=JSON.parse('{"title":"Handler::fetch()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler/fetch.md","filePath":"api/webflo-routing/handler/fetch.md"}'),s={name:"api/webflo-routing/handler/fetch.md"};function r(o,t,d,i,c,h){return n(),a("div",null,[...t[0]||(t[0]=[l("",13)])])}const u=e(s,[["render",r]]);export{f as __pageData,u as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{_ as e,c as a,o as n,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const y=JSON.parse('{"title":"Handler::next()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler/next.md","filePath":"api/webflo-routing/handler/next.md"}'),s={name:"api/webflo-routing/handler/next.md"};function o(r,t,i,d,c,p){return n(),a("div",null,[...t[0]||(t[0]=[l(`<h1 id="handler-next" tabindex="-1">Handler::<code>next()</code> <a class="header-anchor" href="#handler-next" aria-label="Permalink to "Handler::\`next()\`""></a></h1><p>Delegate to next step or make inbound calls.</p><h2 id="signature" tabindex="-1">Signature <a class="header-anchor" href="#signature" aria-label="Permalink to "Signature""></a></h2><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight vp-code" tabindex="0"><code><span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> next</span><span style="color:#BABED8;">()</span><span style="color:#89DDFF;">;</span></span>
|
|
2
|
+
<span class="line"><span style="color:#676E95;font-style:italic;">// url can be string or URL</span></span>
|
|
3
|
+
<span class="line"><span style="color:#676E95;font-style:italic;">// url can be relative when string</span></span>
|
|
4
|
+
<span class="line"><span style="color:#676E95;font-style:italic;">// init can be Request instance or Request init</span></span>
|
|
5
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> next</span><span style="color:#BABED8;">(url</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;"> init</span><span style="color:#89DDFF;">?</span><span style="color:#BABED8;">);</span></span>
|
|
6
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> next</span><span style="color:#BABED8;">(request);</span></span>
|
|
7
|
+
<span class="line"><span style="color:#89DDFF;font-style:italic;">await</span><span style="color:#82AAFF;"> next</span><span style="color:#BABED8;">(</span><span style="color:#89DDFF;">{</span><span style="color:#BABED8;"> redirect?</span><span style="color:#89DDFF;">:</span><span style="color:#BABED8;"> url </span><span style="color:#89DDFF;">=</span><span style="color:#BABED8;"> next</span><span style="color:#89DDFF;">.</span><span style="color:#BABED8;">pathname</span><span style="color:#89DDFF;">,</span><span style="color:#BABED8;"> with?</span><span style="color:#89DDFF;">:</span><span style="color:#BABED8;"> init </span><span style="color:#89DDFF;">}</span><span style="color:#BABED8;">);</span></span></code></pre></div><h2 id="arguments" tabindex="-1">Arguments <a class="header-anchor" href="#arguments" aria-label="Permalink to "Arguments""></a></h2><table tabindex="0"><thead><tr><th style="text-align:left;">Argument</th><th style="text-align:left;">Tyoe</th><th style="text-align:left;">Default</th><th style="text-align:left;">Description</th></tr></thead></table><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to "Properties""></a></h2><table tabindex="0"><thead><tr><th style="text-align:left;">Property</th><th style="text-align:left;">Type</th><th>Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>next.stepname</code></td><td style="text-align:left;"><code>string</code></td><td>The name of the next segment in the URL.</td></tr><tr><td style="text-align:left;"><code>next.pathname</code></td><td style="text-align:left;"><code>string</code></td><td>The full path <em>beyond</em> the the active step.</td></tr></tbody></table><div class="info custom-block"><p class="custom-block-title">See Also</p><p><a href="./../handler#the-this-context"><code>this</code></a></p></div><h2 id="return-value" tabindex="-1">Return Value <a class="header-anchor" href="#return-value" aria-label="Permalink to "Return Value""></a></h2><p>Depends on the step handler's return value. If:</p><table tabindex="0"><thead><tr><th style="text-align:left;">Condition</th><th style="text-align:left;">Return type</th></tr></thead><tbody><tr><td style="text-align:left;">Step handler is generator function</td><td style="text-align:left;"><code>Generator</code> object</td></tr><tr><td style="text-align:left;">Step handler is Quantum function</td><td style="text-align:left;"><code>State</code> object</td></tr><tr><td style="text-align:left;">Step handler uses <code>event.respondWith()</code></td><td style="text-align:left;"><code>LiveResponse</code></td></tr><tr><td style="text-align:left;">Step handler returns <code>LiveResponse</code></td><td style="text-align:left;"><code>LiveResponse</code></td></tr><tr><td style="text-align:left;">Step handler returns <code>Response</code></td><td style="text-align:left;"><code>Response</code></td></tr><tr><td style="text-align:left;">Step handler returns any other value.</td><td style="text-align:left;">That value</td></tr></tbody></table><h2 id="differences-from-fetch" tabindex="-1">Differences from <code>fetch()</code>: <a class="header-anchor" href="#differences-from-fetch" aria-label="Permalink to "Differences from \`fetch()\`:""></a></h2><p>intro</p><table tabindex="0"><thead><tr><th style="text-align:left;"><code>next()</code></th><th style="text-align:left;"><code>fetch()</code></th></tr></thead><tbody><tr><td style="text-align:left;">Makes only inbound calls.</td><td style="text-align:left;">Can make both inbound or outbound calls.</td></tr><tr><td style="text-align:left;">Inherits current request.</td><td style="text-align:left;"></td></tr></tbody></table>`,15)])])}const f=e(s,[["render",o]]);export{y as __pageData,f as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as a,o as n,a2 as l}from"./chunks/framework.9Uv4PgnO.js";const y=JSON.parse('{"title":"Handler::next()","description":"","frontmatter":{},"headers":[],"relativePath":"api/webflo-routing/handler/next.md","filePath":"api/webflo-routing/handler/next.md"}'),s={name:"api/webflo-routing/handler/next.md"};function o(r,t,i,d,c,p){return n(),a("div",null,[...t[0]||(t[0]=[l("",15)])])}const f=e(s,[["render",o]]);export{y as __pageData,f as default};
|