Welcome
open class Welcome : WelcomeProtocol, @unchecked 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.
-
Construct a new instance, transferring data from the client layer to Rust.
Declaration
Swift
public convenience init(bytes: Data)
-
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
open func copyBytes() -> Data