2017-06-30 15:36:33 +02:00
|
|
|
---
|
|
|
|
title: cdnConfig
|
|
|
|
description: cdnConfig attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: cdnConfig
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [CdnConfig](../types/CdnConfig.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey], ];
|
|
|
|
```
|
|
|
|
|
2017-07-23 16:11:02 +02:00
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
|
|
|
{"_":"cdnConfig","public_keys":["CdnPublicKey"]}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2017-06-30 15:36:33 +02:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|