Contents

URLSessionWebSocketTask.CloseCode.mandatoryExtensionMissing

A code that indicates the client terminated the connection because the server didn’t negotiate a required extension.

Declaration

case mandatoryExtensionMissing

Discussion

RFC 6455 indicates the client should provide a closeReason with a list of the needed extensions.

See Also

Close codes