Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs grpc

//After successfully generating your functions from .proto files for nodejs:

//unsecured
const client = new SomeServiceClient('urlWithoutProtocol', grpc.credentials.createInsecure());

//SSL
const client = new SomeServiceClient('urlWithoutProtocol', grpc.credentials.createSsl());
 
PREVIOUS NEXT
Tagged: #nodejs #grpc
ADD COMMENT
Topic
Name
9+7 =