OptionalclientAllowed messages from the WebSocket client.
OptionalconnectAllowed connection protocols for this WebSocket. Each protocol the client sends is matched against the requirement; the client must supply at least one matching protocol when the requirement is set.
Modeled the same way as searchParams:
Shape (runtime type usually a string or string union): each supplied protocol must
satisfy the shape.RegExp: each supplied protocol must match the regex.ReadonlyArray<Shape | RegExp>: each supplied protocol must satisfy at least one entry.
Order is not significant. The array is treated as a list of alternatives.OptionalhostAllowed messages from the WebSocket host.
Package
@rest-vir/api