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

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