NorskSystem.rotateMoqListenerCerts() method
Rotate TLS certificates on a running MoQT listener. Existing connections are unaffected — only new connections use the new cert.
Signature:
rotateMoqListenerCerts(type: 'wt' | 'quic', port: number, certFile: string, keyFile: string): Promise<{
success: boolean;
error?: string;
}>;
Parameters
| Parameter | Type | Description |
|---|---|---|
type |
'wt' | 'quic' |
|
port |
number |
|
certFile |
string |
|
keyFile |
string |
Returns:
Promise<{ success: boolean; error?: string; }>
Find Examples
Search for examples using rotateMoqListenerCerts in our examples repo.