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.

  • Fallibly instantiate an instance from a byte array.

    Declaration

    Swift

    public convenience init(bytes: Data) throws
  • TLS-serialize this message

    Declaration

    Swift

    open func serialize() throws -> Data