mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
rootCerts is optional.
This commit is contained in:
parent
2510b86baa
commit
7e32e84bca
@ -6,7 +6,7 @@ import { CallCredentials } from './call-credentials';
|
||||
export class ChannelCredentials {
|
||||
private constructor() {}
|
||||
|
||||
static createSsl(rootCerts: Buffer, privateKey?: Buffer, certChain?: Buffer) : ChannelCredentials {
|
||||
static createSsl(rootCerts?: Buffer, privateKey?: Buffer, certChain?: Buffer) : ChannelCredentials {
|
||||
throw new Error();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user