ServerCredentials
Extends
ServerCredentials
Constructors
new ServerCredentials()
new ServerCredentials(): ServerCredentials
Returns
Inherited from
gRPC.ServerCredentials.constructor
Methods
_addWatcher()
_addWatcher(watcher: SecureContextWatcher): void
Parameters
• watcher: SecureContextWatcher
Returns
void
Inherited from
gRPC.ServerCredentials._addWatcher
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:17
_equals()
abstract _equals(other: ServerCredentials): boolean
Parameters
• other: ServerCredentials
Returns
boolean
Inherited from
gRPC.ServerCredentials._equals
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:23
_getInterceptors()
_getInterceptors(): ServerInterceptor[]
Returns
ServerInterceptor[]
Inherited from
gRPC.ServerCredentials._getInterceptors
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:22
_getSettings()
_getSettings(): SecureServerOptions<typeof IncomingMessage, (req: IncomingMessage) => ServerResponse<IncomingMessage>, typeof Http2ServerRequest, (stream: ServerHttp2Stream) => Http2ServerResponse<Http2ServerRequest>>
Returns
SecureServerOptions<typeof IncomingMessage, (req: IncomingMessage) => ServerResponse<IncomingMessage>, typeof Http2ServerRequest, (stream: ServerHttp2Stream) => Http2ServerResponse<Http2ServerRequest>>
Inherited from
gRPC.ServerCredentials._getSettings
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:21
_isSecure()
abstract _isSecure(): boolean
Returns
boolean
Inherited from
gRPC.ServerCredentials._isSecure
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:20
_removeWatcher()
_removeWatcher(watcher: SecureContextWatcher): void
Parameters
• watcher: SecureContextWatcher
Returns
void
Inherited from
gRPC.ServerCredentials._removeWatcher
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:18
updateSecureContextOptions()
protected updateSecureContextOptions(options: SecureServerOptions<typeof IncomingMessage, (req: IncomingMessage) => ServerResponse<IncomingMessage>, typeof Http2ServerRequest, (stream: ServerHttp2Stream) => Http2ServerResponse<Http2ServerRequest>>): void
Parameters
• options: SecureServerOptions<typeof IncomingMessage, (req: IncomingMessage) => ServerResponse<IncomingMessage>, typeof Http2ServerRequest, (stream: ServerHttp2Stream) => Http2ServerResponse<Http2ServerRequest>>
Returns
void
Inherited from
gRPC.ServerCredentials.updateSecureContextOptions
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:19
createInsecure()
static createInsecure(): ServerCredentials
Returns
ServerCredentials
Inherited from
gRPC.ServerCredentials.createInsecure
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:24
createSsl()
static createSsl(
rootCerts: Buffer,
keyCertPairs: KeyCertPair[],
checkClientCertificate?: boolean): ServerCredentials
Parameters
• rootCerts: Buffer
• keyCertPairs: KeyCertPair[]
• checkClientCertificate?: boolean
Returns
ServerCredentials
Inherited from
gRPC.ServerCredentials.createSsl
Defined in
node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts:25