The design for this in the SDK is:
1) bytes parameters are typed as Stream so that users can pass in a file stream, byte stream, in memory byte stream, etc.
2) The RawClient now accepts either a JsonApiRequest or a StreamApiRequest as input so each endpoint can pass in what they want
The design for this in the SDK is: 1)
bytes
parameters are typed asStream
so that users can pass in a file stream, byte stream, in memory byte stream, etc. 2) The RawClient now accepts either aJsonApiRequest
or aStreamApiRequest
as input so each endpoint can pass in what they want