6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
23 lines
665 B
TypeScript
23 lines
665 B
TypeScript
import type { Plugin } from '../../types.js';
|
|
/**
|
|
* Implements option.on object to subscribe to `httpxy` events.
|
|
*
|
|
* @example
|
|
* ```js
|
|
* createProxyMiddleware({
|
|
* on: {
|
|
* error: (error, req, res, target) => {},
|
|
* proxyReq: (proxyReq, req, res, options) => {},
|
|
* proxyReqWs: (proxyReq, req, socket, options) => {},
|
|
* proxyRes: (proxyRes, req, res) => {},
|
|
* open: (proxySocket) => {},
|
|
* close: (proxyRes, proxySocket, proxyHead) => {},
|
|
* start: (req, res, target) => {},
|
|
* end: (req, res, proxyRes) => {},
|
|
* econnreset: (error, req, res, target) => {},
|
|
* }
|
|
* });
|
|
* ```
|
|
*/
|
|
export declare const proxyEventsPlugin: Plugin;
|