1
0
mirror of https://github.com/redis/node-redis.git synced 2025-12-12 21:21:15 +03:00

feat(proxy): implement express style middleware (#3105)

This commit is contained in:
Nikolay Karadzhov
2025-10-21 14:47:37 +03:00
committed by GitHub
parent 1cda848393
commit b8267c9b82
3 changed files with 102 additions and 9 deletions

View File

@@ -313,11 +313,10 @@ export default class TestUtils {
//@ts-ignore
targetPort: socketOptions.port,
//@ts-ignore
targetHost: socketOptions.host,
targetHost: socketOptions.host ?? '127.0.0.1',
enableLogging: true
});
await proxy.start();
const proxyClient = client.duplicate({
socket: {