Constructor
new MultipartX(input)
Parameters:
Name | Type | Description |
---|---|---|
input |
string | Array.<MPSingle> |
String data or OIP Multiparts (MPSingle)s (hint: can pass in an JSON object) |
- Source:
Methods
fromMultiparts(MPSingles)
Takes in an array of {MPSingle} for later method use
Parameters:
Name | Type | Description |
---|---|---|
MPSingles |
Array.<MPSingle> |
an array of multiparts {MPSingle} |
- Source:
fromString(jsonString)
Splits the jsonString input into multiparts
Parameters:
Name | Type | Description |
---|---|---|
jsonString |
string |
string data that is too long to fit onto one FLO transaction |
- Source:
getMultiparts() → {Array.<MPSingle>}
Return Multiparts array
- Source:
Returns:
multiparts
- Type:
- Array.<MPSingle>
toString() → {string}
Returns the assembled data from the multiparts
- Source:
Returns:
assembled
- Type:
- string