Conditions | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # Copyright Pincer 2021-Present |
||
19 | @staticmethod |
||
20 | def uri() -> str: |
||
21 | """ |
||
22 | :return uri: |
||
23 | The GatewayConfig's uri. |
||
24 | """ |
||
25 | return ( |
||
26 | f"{GatewayConfig.socket_base_url}" |
||
27 | f"?v={GatewayConfig.version}" |
||
28 | f"&encoding={GatewayConfig.encoding}" |
||
29 | ) + ( |
||
30 | f"&compress={GatewayConfig.compression}" |
||
31 | * GatewayConfig.compressed() |
||
32 | ) |
||
41 |