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.js Node.js gRPC client with dynamic proto loading and mTLS
  • node-kv-server.js Node.js gRPC server with mTLS support
  • package.json Node.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.js
    • node-kv-server.js

PHP gRPC implementation

4 files changed
  • php-kv-client.php PHP gRPC client with temporary certificate file handling
  • php-kv-server.php PHP gRPC server with in-memory key-value store
  • composer.json PHP project with grpc and protobuf dependencies
  • generate-proto.sh Proto 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.php
    • php-kv-server.php

C# server and Rust improvements

4 files changed
  • ServerProgram.cs C# gRPC server with ASP.NET Core Kestrel, mTLS, and detailed TLS logging
  • KVServiceImpl.cs C# KV service implementation
  • lenient_verifier.rs Custom Rust certificate verifier for cross-language compatibility
  • cert_verifier.rs Additional 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.cs
    • lenient_verifier.rs