Constructor: cdnPublicKey

Back to constructors index

Public key to use only during handshakes to CDN DCs.

Attributes:

Name Type Required Description
dc_id int Yes CDN DC ID
public_key string Yes RSA public key

Type: CdnPublicKey

Example:

$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];

Or, if you’re into Lua:

cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}

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