Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSURLSessionWebSocketTaskMBS class.

NSURLSessionWebSocketTaskMBS.closeCode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A task can be queried for it's close code at any point.

When the task is not closed, it will be set to CloseCodeInvalid.
(Read only property)

NSURLSessionWebSocketTaskMBS.closeReason as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A task can be queried for it's close reason at any point.

A nil value indicates no closeReason or that the task is still running
(Read only property)

NSURLSessionWebSocketTaskMBS.maximumMessageSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Networking MBS MacFrameworks Plugin 20.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The maximum number of bytes to be buffered before erroring out.

This includes the sum of all bytes from continuation frames. Recieve calls will error out if this value is reached.
(Read and Write property)

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...