Skip to content

nitely/nim-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRpc

Pure Nim gRPC implementation. It works on top of hyperx. Tested with go-grpc server/client interop tests.

Install

nimble install grpc

Compatibility

Nim +2.0

Requirements

  • OpenSSL

Usage

Read the examples and the interop tests.

Debugging

The -d:grpcDebug define will print debugging messages and error traces

Limitations

  • Service code generation is missing. As seen in the tls_server example this is not terrible, but services and messages must be kept in separate files, since the protobuf library can only parse messages.
  • The protobuf library does not support enums. You may change enums to int32 and they will work fine for interop.

LICENSE

MIT