run_macro_server_streaming

Function run_macro_server_streaming 

Source
pub async fn run_macro_server_streaming<F: TransportFactory>()
Expand description

Test server-streaming using the macro-generated client and server.

This uses the RangeService trait which has a streaming method. The macro generates:

  • Client range() method that returns impl Stream<Item = Result<u32, RpcError>>
  • Server dispatch_streaming() method that handles the streaming dispatch