lib/httpx/plugins/grpc.rb in httpx-0.15.3 vs lib/httpx/plugins/grpc.rb in httpx-0.15.4
- old
+ new
@@ -178,10 +178,10 @@
input.each do |message|
y << input_enc.__send__(marshal_method, message)
end
end
else
- input_enc.marshal(input)
+ input_enc.__send__(marshal_method, input)
end
call = execute(rpc_name, messages, **exec_opts)
call.decoder = output_enc.method(unmarshal_method)