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