From: Jérôme Benoit Date: Thu, 10 Aug 2023 20:45:16 +0000 (+0200) Subject: refactor: rename http-client to http-client-pool in examples X-Git-Tag: v2.6.23~15 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5ba0cd3c9bdb6479399aa77f45321ac72183f135;p=poolifier.git refactor: rename http-client to http-client-pool in examples Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index 318d8611..256bd34e 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ You can do the same with the classes _ClusterWorker_, _FixedClusterPool_ and _Dy - [Javascript](./examples/javascript/) - [Typescript](./examples/typescript/) - - [HTTP client pool](./examples/typescript/http-client/) + - [HTTP client pool](./examples/typescript/http-client-pool/) Remember that workers can only send and receive structured-cloneable data. diff --git a/examples/typescript/http-client/httpd-echo.js b/examples/typescript/http-client-pool/httpd-echo.js similarity index 100% rename from examples/typescript/http-client/httpd-echo.js rename to examples/typescript/http-client-pool/httpd-echo.js diff --git a/examples/typescript/http-client/package.json b/examples/typescript/http-client-pool/package.json similarity index 100% rename from examples/typescript/http-client/package.json rename to examples/typescript/http-client-pool/package.json diff --git a/examples/typescript/http-client/pnpm-lock.yaml b/examples/typescript/http-client-pool/pnpm-lock.yaml similarity index 100% rename from examples/typescript/http-client/pnpm-lock.yaml rename to examples/typescript/http-client-pool/pnpm-lock.yaml diff --git a/examples/typescript/http-client/src/main.ts b/examples/typescript/http-client-pool/src/main.ts similarity index 100% rename from examples/typescript/http-client/src/main.ts rename to examples/typescript/http-client-pool/src/main.ts diff --git a/examples/typescript/http-client/src/pool.ts b/examples/typescript/http-client-pool/src/pool.ts similarity index 100% rename from examples/typescript/http-client/src/pool.ts rename to examples/typescript/http-client-pool/src/pool.ts diff --git a/examples/typescript/http-client/src/types.ts b/examples/typescript/http-client-pool/src/types.ts similarity index 100% rename from examples/typescript/http-client/src/types.ts rename to examples/typescript/http-client-pool/src/types.ts diff --git a/examples/typescript/http-client/src/worker.ts b/examples/typescript/http-client-pool/src/worker.ts similarity index 100% rename from examples/typescript/http-client/src/worker.ts rename to examples/typescript/http-client-pool/src/worker.ts diff --git a/examples/typescript/http-client/tsconfig.json b/examples/typescript/http-client-pool/tsconfig.json similarity index 100% rename from examples/typescript/http-client/tsconfig.json rename to examples/typescript/http-client-pool/tsconfig.json