sendText(message:)

    Sends the given message using WebSocket text mode. Prefer this method over putPacket(buffer:) when interacting with third-party text-based API (e.g. when using JSON formatted messages).

    WebSocketPeer.swift:251
    final func sendText(message: String) -> GodotError

    Other members in extension

    Types

    Type members

    Instance members