isConfigured

View as MarkdownOpen in Claude

Check whether SSL is fully configured: enabled with both certificate and key files present on disk.

Parameters

None.

Returns

booleantrue if SSL is enabled and both cert and key files exist on disk.

Example

import { SslConfig } from '@signalwire/sdk';
const ssl = new SslConfig();
if (ssl.isConfigured()) {
console.log('SSL is ready');
}