PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@grpc/grpc-js/build/src
Просмотр файла: server-credentials.d.ts
/// <reference types="node" />
import { SecureServerOptions } from 'http2';
export interface KeyCertPair {
private_key: Buffer;
cert_chain: Buffer;
}
export declare abstract class ServerCredentials {
abstract _isSecure(): boolean;
abstract _getSettings(): SecureServerOptions | null;
static createInsecure(): ServerCredentials;
static createSsl(rootCerts: Buffer | null, keyCertPairs: KeyCertPair[], checkClientCertificate?: boolean): ServerCredentials;
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!