text

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

    WebSocketPeer.swift:22
    case text

    Other cases

    • case binary

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