I am getting an error 0000 Error {000}: [00000003] Invalid mime type "binary": does not contain '/'
var client = new RSocketClient(new WebSocketTransport("ws://127.0.0.1:7000/quotes"), new RSocketOptions() {
InitialRequestSize = 3,
DataMimeType = "application/x-binary",
MetadataMimeType = "application/x-binary"
});
await client.ConnectAsync();
what's the mime type format to use for rsocket request stream of various binary object types? The client shows that there is a mime type.

A wireshark capture shows the error that appears to come from port 7000 the Java Server saying that the Net client has produced the wrong mime type

it is a bug in RSocket-.Net. you shell pass your RSocketOptions derictly into ConnectAsync instead of passing them into the RSocketClient constructor:
var client = new RSocketClient(new WebSocketTransport("ws://127.0.0.1:7000/quotes"));
await client.ConnectAsync(new RSocketOptions() {
InitialRequestSize = 3,
DataMimeType = "application/x-binary",
MetadataMimeType = "application/x-binary"
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With