version bumpo
This commit is contained in:
@@ -104,11 +104,13 @@ public class ApiClient(string apiUrl) : IApiClient
|
||||
{
|
||||
content = new ByteArrayContent(messageRawBytes.Data);
|
||||
content.Headers.ContentType = new("application/octet-stream");
|
||||
content.Headers.ContentLength = messageRawBytes.Data.Length;
|
||||
}
|
||||
else if (context.Message is ApiRawStreamMessage messageRawStream)
|
||||
{
|
||||
content = new StreamContent(messageRawStream.Data);
|
||||
content.Headers.ContentType = new("application/octet-stream");
|
||||
content.Headers.ContentLength = messageRawStream.Data.Length;
|
||||
}
|
||||
else if (context.Message is not null)
|
||||
content = new StringContent(context.Serializer.Serialize(context.Message)!, null, "application/json");
|
||||
|
||||
Reference in New Issue
Block a user