Static Methodswift-nio 2.72.0NIOWebSocket
random
Returns a random masking key, using the SystemRandomNumberGenerator
as a source for randomness.
static func random() -> WebSocketMaskingKey
Returns
A random masking key
Other members in extension
Typealiases
Type members
init?<T>(T
) init(arrayLiteral: UInt8...
) static func random<Generator>(using: inout Generator
) -> WebSocketMaskingKey Returns a random masking key, using the given generator as a source for randomness.
static func == (lhs: WebSocketMaskingKey, rhs: WebSocketMaskingKey
) -> Bool