├── .github └── workflows │ └── app.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── nest-cli.json ├── nodemon-debug.json ├── nodemon.json ├── package.json ├── renovate.json ├── samples ├── auth │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ │ ├── app.controller.spec.ts │ │ ├── app.module.ts │ │ ├── app.service.ts │ │ ├── jwt.strategy.ts │ │ ├── main.ts │ │ ├── rpc.guard.ts │ │ ├── secure.handler.ts │ │ ├── sign-in.handler.ts │ │ └── users.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── express-engine │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ │ ├── app.controller.spec.ts │ │ ├── app.module.ts │ │ ├── app.service.ts │ │ ├── hello.handler.ts │ │ └── main.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── fastify-engine │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ │ ├── app.controller.spec.ts │ │ ├── app.module.ts │ │ ├── app.service.ts │ │ ├── hello.handler.ts │ │ └── main.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── logging │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ │ ├── app.controller.spec.ts │ │ ├── app.module.ts │ │ ├── app.service.ts │ │ ├── hello.handler.ts │ │ ├── main.ts │ │ └── rpc-logging.middleware.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── multiple-handlers-in-class │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ │ ├── app.controller.spec.ts │ │ ├── app.module.ts │ │ ├── app.service.ts │ │ ├── hello.handler.ts │ │ └── main.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json └── request-scoped │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc │ ├── README.md │ ├── nest-cli.json │ ├── package.json │ ├── src │ ├── app.controller.spec.ts │ ├── app.module.ts │ ├── app.service.ts │ ├── hello.handler.ts │ └── main.ts │ ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json │ ├── tsconfig.build.json │ └── tsconfig.json ├── sonar.properties ├── src ├── context │ ├── decorators.ts │ ├── json-rpc-context-creator.ts │ ├── json-rpc-proxy.ts │ └── json-rpc-response-controller.ts ├── exception │ ├── json-rpc-error-codes.ts │ ├── json-rpc.exception.ts │ ├── rpc-internal.exception.ts │ ├── rpc-invalid-params.exception.ts │ ├── rpc-invalid-request.exception.ts │ ├── rpc-method-not-found.exception.ts │ └── rpc-parse.exception.ts ├── index.ts ├── interfaces.ts ├── interfaces │ ├── json-rpc-config.ts │ ├── json-rpc-module-async-options.ts │ └── json-rpc-options-factory.ts ├── json-rpc-explorer.ts ├── json-rpc-server.ts ├── json-rpc.module.ts ├── rpc-callback-proxy.ts ├── rpc-routes-resolver.ts └── types.ts ├── test ├── custom-headers.e2e-spec.ts ├── handlers │ ├── custom-header.ts │ ├── multiple-handlers.ts │ ├── test-handler.ts │ └── without-parent-method.ts ├── jest-e2e.json ├── multiple-method-handlers.e2e-spec.ts └── specification.e2e-spec.ts ├── tsconfig.build.json ├── tsconfig.json └── tslint.json /.github/workflows/app.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/.github/workflows/app.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/README.md -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/nest-cli.json -------------------------------------------------------------------------------- /nodemon-debug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/nodemon-debug.json -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/package.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/renovate.json -------------------------------------------------------------------------------- /samples/auth/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/.eslintrc.js -------------------------------------------------------------------------------- /samples/auth/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/.gitignore -------------------------------------------------------------------------------- /samples/auth/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/.prettierrc -------------------------------------------------------------------------------- /samples/auth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/README.md -------------------------------------------------------------------------------- /samples/auth/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/nest-cli.json -------------------------------------------------------------------------------- /samples/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/package.json -------------------------------------------------------------------------------- /samples/auth/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/auth/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/app.module.ts -------------------------------------------------------------------------------- /samples/auth/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/app.service.ts -------------------------------------------------------------------------------- /samples/auth/src/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/jwt.strategy.ts -------------------------------------------------------------------------------- /samples/auth/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/main.ts -------------------------------------------------------------------------------- /samples/auth/src/rpc.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/rpc.guard.ts -------------------------------------------------------------------------------- /samples/auth/src/secure.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/secure.handler.ts -------------------------------------------------------------------------------- /samples/auth/src/sign-in.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/sign-in.handler.ts -------------------------------------------------------------------------------- /samples/auth/src/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/src/users.ts -------------------------------------------------------------------------------- /samples/auth/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/auth/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/auth/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/tsconfig.build.json -------------------------------------------------------------------------------- /samples/auth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/auth/tsconfig.json -------------------------------------------------------------------------------- /samples/express-engine/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/.eslintrc.js -------------------------------------------------------------------------------- /samples/express-engine/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/.gitignore -------------------------------------------------------------------------------- /samples/express-engine/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/.prettierrc -------------------------------------------------------------------------------- /samples/express-engine/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/README.md -------------------------------------------------------------------------------- /samples/express-engine/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/nest-cli.json -------------------------------------------------------------------------------- /samples/express-engine/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/package.json -------------------------------------------------------------------------------- /samples/express-engine/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/express-engine/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/src/app.module.ts -------------------------------------------------------------------------------- /samples/express-engine/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/src/app.service.ts -------------------------------------------------------------------------------- /samples/express-engine/src/hello.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/src/hello.handler.ts -------------------------------------------------------------------------------- /samples/express-engine/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/src/main.ts -------------------------------------------------------------------------------- /samples/express-engine/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/express-engine/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/express-engine/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/tsconfig.build.json -------------------------------------------------------------------------------- /samples/express-engine/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/express-engine/tsconfig.json -------------------------------------------------------------------------------- /samples/fastify-engine/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/.eslintrc.js -------------------------------------------------------------------------------- /samples/fastify-engine/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/.gitignore -------------------------------------------------------------------------------- /samples/fastify-engine/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/.prettierrc -------------------------------------------------------------------------------- /samples/fastify-engine/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/README.md -------------------------------------------------------------------------------- /samples/fastify-engine/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/nest-cli.json -------------------------------------------------------------------------------- /samples/fastify-engine/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/package.json -------------------------------------------------------------------------------- /samples/fastify-engine/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/fastify-engine/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/src/app.module.ts -------------------------------------------------------------------------------- /samples/fastify-engine/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/src/app.service.ts -------------------------------------------------------------------------------- /samples/fastify-engine/src/hello.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/src/hello.handler.ts -------------------------------------------------------------------------------- /samples/fastify-engine/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/src/main.ts -------------------------------------------------------------------------------- /samples/fastify-engine/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/fastify-engine/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/fastify-engine/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/tsconfig.build.json -------------------------------------------------------------------------------- /samples/fastify-engine/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/fastify-engine/tsconfig.json -------------------------------------------------------------------------------- /samples/logging/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/.eslintrc.js -------------------------------------------------------------------------------- /samples/logging/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/.gitignore -------------------------------------------------------------------------------- /samples/logging/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/.prettierrc -------------------------------------------------------------------------------- /samples/logging/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/README.md -------------------------------------------------------------------------------- /samples/logging/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/nest-cli.json -------------------------------------------------------------------------------- /samples/logging/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/package.json -------------------------------------------------------------------------------- /samples/logging/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/logging/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/app.module.ts -------------------------------------------------------------------------------- /samples/logging/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/app.service.ts -------------------------------------------------------------------------------- /samples/logging/src/hello.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/hello.handler.ts -------------------------------------------------------------------------------- /samples/logging/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/main.ts -------------------------------------------------------------------------------- /samples/logging/src/rpc-logging.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/src/rpc-logging.middleware.ts -------------------------------------------------------------------------------- /samples/logging/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/logging/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/logging/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/tsconfig.build.json -------------------------------------------------------------------------------- /samples/logging/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/logging/tsconfig.json -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/.eslintrc.js -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/.gitignore -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/.prettierrc -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/README.md -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/nest-cli.json -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/package.json -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/src/app.module.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/src/app.service.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/src/hello.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/src/hello.handler.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/src/main.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/tsconfig.build.json -------------------------------------------------------------------------------- /samples/multiple-handlers-in-class/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/multiple-handlers-in-class/tsconfig.json -------------------------------------------------------------------------------- /samples/request-scoped/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/.eslintrc.js -------------------------------------------------------------------------------- /samples/request-scoped/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/.gitignore -------------------------------------------------------------------------------- /samples/request-scoped/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/.prettierrc -------------------------------------------------------------------------------- /samples/request-scoped/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/README.md -------------------------------------------------------------------------------- /samples/request-scoped/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/nest-cli.json -------------------------------------------------------------------------------- /samples/request-scoped/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/package.json -------------------------------------------------------------------------------- /samples/request-scoped/src/app.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/src/app.controller.spec.ts -------------------------------------------------------------------------------- /samples/request-scoped/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/src/app.module.ts -------------------------------------------------------------------------------- /samples/request-scoped/src/app.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/src/app.service.ts -------------------------------------------------------------------------------- /samples/request-scoped/src/hello.handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/src/hello.handler.ts -------------------------------------------------------------------------------- /samples/request-scoped/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/src/main.ts -------------------------------------------------------------------------------- /samples/request-scoped/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /samples/request-scoped/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/test/jest-e2e.json -------------------------------------------------------------------------------- /samples/request-scoped/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/tsconfig.build.json -------------------------------------------------------------------------------- /samples/request-scoped/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/samples/request-scoped/tsconfig.json -------------------------------------------------------------------------------- /sonar.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/sonar.properties -------------------------------------------------------------------------------- /src/context/decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/context/decorators.ts -------------------------------------------------------------------------------- /src/context/json-rpc-context-creator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/context/json-rpc-context-creator.ts -------------------------------------------------------------------------------- /src/context/json-rpc-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/context/json-rpc-proxy.ts -------------------------------------------------------------------------------- /src/context/json-rpc-response-controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/context/json-rpc-response-controller.ts -------------------------------------------------------------------------------- /src/exception/json-rpc-error-codes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/json-rpc-error-codes.ts -------------------------------------------------------------------------------- /src/exception/json-rpc.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/json-rpc.exception.ts -------------------------------------------------------------------------------- /src/exception/rpc-internal.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/rpc-internal.exception.ts -------------------------------------------------------------------------------- /src/exception/rpc-invalid-params.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/rpc-invalid-params.exception.ts -------------------------------------------------------------------------------- /src/exception/rpc-invalid-request.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/rpc-invalid-request.exception.ts -------------------------------------------------------------------------------- /src/exception/rpc-method-not-found.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/rpc-method-not-found.exception.ts -------------------------------------------------------------------------------- /src/exception/rpc-parse.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/exception/rpc-parse.exception.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/interfaces.ts -------------------------------------------------------------------------------- /src/interfaces/json-rpc-config.ts: -------------------------------------------------------------------------------- 1 | export interface JsonRpcConfig { 2 | path: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/interfaces/json-rpc-module-async-options.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/interfaces/json-rpc-module-async-options.ts -------------------------------------------------------------------------------- /src/interfaces/json-rpc-options-factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/interfaces/json-rpc-options-factory.ts -------------------------------------------------------------------------------- /src/json-rpc-explorer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/json-rpc-explorer.ts -------------------------------------------------------------------------------- /src/json-rpc-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/json-rpc-server.ts -------------------------------------------------------------------------------- /src/json-rpc.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/json-rpc.module.ts -------------------------------------------------------------------------------- /src/rpc-callback-proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/rpc-callback-proxy.ts -------------------------------------------------------------------------------- /src/rpc-routes-resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/rpc-routes-resolver.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/src/types.ts -------------------------------------------------------------------------------- /test/custom-headers.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/custom-headers.e2e-spec.ts -------------------------------------------------------------------------------- /test/handlers/custom-header.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/handlers/custom-header.ts -------------------------------------------------------------------------------- /test/handlers/multiple-handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/handlers/multiple-handlers.ts -------------------------------------------------------------------------------- /test/handlers/test-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/handlers/test-handler.ts -------------------------------------------------------------------------------- /test/handlers/without-parent-method.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/handlers/without-parent-method.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /test/multiple-method-handlers.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/multiple-method-handlers.e2e-spec.ts -------------------------------------------------------------------------------- /test/specification.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/test/specification.e2e-spec.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Insidexa/nestjs-rpc/HEAD/tslint.json --------------------------------------------------------------------------------