BinaryAttachments work much the same way RxFileReferences do, except they allow
you to attach arbitrary binary data to models instead of files. This is quite
useful for things like screenshots, webcam output, etc.
public var data:ByteArray
actual binary data to send
public var key:String
The key this attachment should be submitted under, can be things like
"avatar", or "uploaded_data" or whatever user server expects as the variable
public var name:String
The name to use for this attachment (can be something like snapshot.png)
public function BinaryAttachment(name:String, key:String, data:ByteArray)
Parameters
| name:String |
|
| key:String |
|
| data:ByteArray |