WelcomeProtocol

public protocol WelcomeProtocol : AnyObject, Sendable

A TLS-serialized Welcome message.

This structure is defined in RFC 9420: https://www.rfc-editor.org/rfc/rfc9420.html#joining-via-welcome-message.

  • Get the raw bytes from this type, transferring data from Rust to the client layer.

    This does not consume the newtype, instead copying the internal data across the FFI boundary.

    Declaration

    Swift

    func copyBytes() -> Data