# Constructor: cdnConfig

Back to constructors index

Configuration for CDN file downloads.

# Attributes:

Name Type Required Description
public_keys Array of CdnPublicKey Yes Vector of public keys to use only during handshakes to CDN DCs.

# Type: CdnConfig

# Example:

$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];

Or, if you’re into Lua:

cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.