Contents

URLSessionWebSocketTask.Message.string(_:)

A WebSocket message that contains a string.

Declaration

case string(String)

Discussion

The URLSessionWebSocketTask uses UTF-8 encoding to send the message’s string.

See Also

Message types