Repository navigation
WebSocket Updates
• Added support for Public Key Pinning. You can now configure a list of trusted SHA-256 hashes in the PortalClientBuilder to enhance network security.
Example usage:
let client = PortalClientBuilder(
address = "https://demo.webitel.com",
token = "CLIENT_TOKEN"
)
.useWebSocket()
.setPinnedPublicKeys(["base64-encoded-hash..."])
.logLevel(.debug)
.build()