binary

    Specifies that WebSockets messages should be transferred as binary payload (any byte combination is allowed).

    WebSocketPeer.swift:24
    case binary

    Other cases

    • case text

      Specifies that WebSockets messages should be transferred as text payload (only valid UTF-8 is allowed).