More than one IAsyncEnumerable<byte[]> type params in OperationContract api gives NotSupportedException. #225
[OperationContract]
public Task RequestEnrollmentAsync(
IAsyncEnumerable<byte[]> voice, IAsyncEnumerable<byte[]> image, CancellationToken cancel = default);I'm trying to transfer two files from client to server but when I test this api, it gives me below exception. I tried your example code on transferring files and it worked but that case was sending just one file. |
Answered by
max-ieremenko
Jul 14, 2024
Replies: 1 comment
|
Two client streams are not supported by gRPC design. |
0 replies
Answer selected by
EunjeongChoi414
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two client streams are not supported by gRPC design.