grpc-kv-examples
2025-11-07
Add Node.js, PHP, and C# server implementations with expanded Rust client
45 files · 6,895+ · 548-
Node.js gRPC implementation
3 files changed
node-kv-client.jsNode.js gRPC client with dynamic proto loading and mTLSnode-kv-server.jsNode.js gRPC server with mTLS supportpackage.jsonNode.js project with grpc-js and proto-loader dependencies
- Added a complete Node.js implementation using @grpc/grpc-js with dynamic proto loading, eliminating code generation and providing full mTLS support across all curves.
instantiate
architectural
2 files
node-kv-client.jsnode-kv-server.js
PHP gRPC implementation
4 files changed
php-kv-client.phpPHP gRPC client with temporary certificate file handlingphp-kv-server.phpPHP gRPC server with in-memory key-value storecomposer.jsonPHP project with grpc and protobuf dependenciesgenerate-proto.shProto code generation script for PHP
- Implemented PHP client and server requiring dynamic certificate file creation from environment variables, with proto code generation script.
instantiate
architectural
2 files
php-kv-client.phpphp-kv-server.php
C# server and Rust improvements
4 files changed
ServerProgram.csC# gRPC server with ASP.NET Core Kestrel, mTLS, and detailed TLS loggingKVServiceImpl.csC# KV service implementationlenient_verifier.rsCustom Rust certificate verifier for cross-language compatibilitycert_verifier.rsAdditional Rust certificate verification logic
- Added C# gRPC server with ASP.NET Core and comprehensive TLS debugging, plus a Rust lenient certificate verifier enabling CA:FALSE certificate mode for cross-language testing.
streamline
architectural
2 files
ServerProgram.cslenient_verifier.rs