I would like to consume a stream in a thrift service, for example, in a service method to have a stream or something similar as an argument to the method (for example, to be able to serialize the result from an IDataReader to a stream, and then deserialize the reference to the data on the other server side).
I don't think that this is explicitly possible, but I was wondering if there was another way to achieve something similar.
Thanks.