(self)
| 133 | |
| 134 | @property |
| 135 | def https_ech(self) -> str | None: |
| 136 | record = https_records.unpack(self.data) |
| 137 | ech_bytes = record.params.get(SVCParamKeys.ECH.value, None) |
| 138 | if ech_bytes is not None: |
| 139 | return base64.b64encode(ech_bytes).decode("utf-8") |
| 140 | else: |
| 141 | return None |
| 142 | |
| 143 | @https_ech.setter |
| 144 | def https_ech(self, ech: str | None) -> None: |