mirror of https://github.com/grpc/grpc-node.git
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…
Reference in New Issue