Platforms to show: All Mac Windows Linux Cross-Platform
NSURLSessionWebSocketMessageMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Networking | MBS MacFrameworks Plugin | 20.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The message can be initialized with data or string. If initialized with data, the string property will be nil and vice versa.
Available on MacOS 10.15 or newer.
- 4 properties
- 2 methods
- method Constructor(data as MemoryBlock)
- method Constructor(text as string)
- shared method available as Boolean
- 2 constants
Types
Constant | Value | Description |
---|---|---|
TypeData | 0 |
Data Message |
TypeString | 1 |
Text Message |
This class has no sub classes.
Some methods using this class:
- NSURLSessionWebSocketTaskMBS.sendMessage(message as NSURLSessionWebSocketMessageMBS, Handler as NSURLSessionWebSocketTaskSendMessageCompletedMBS, tag as variant = nil)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
NSURLSessionUploadTaskMBS - NSURLSessionWebSocketTaskMBS