Interface IStreamSender
- Namespace
- Mediarion
- Assembly
- Mediarion.Streaming.dll
Sends a streaming request to the one handler that answers it.
public interface IStreamSender
Remarks
Separate from ISender because it lives in a different package, and the core has no dependencies. The extension method on ISender is what keeps the call site the same as it was.
Methods
- CreateStream(object, CancellationToken)
Sends a streaming request whose type is only known at run time.
- CreateStream<TResponse>(IStreamRequest<TResponse>, CancellationToken)
Sends a streaming request.