You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

17 lines
361 B

  1. using System.IO.Pipelines;
  2. namespace MQTTnet.AspNetCore.Tests.Mockups
  3. {
  4. public class DuplexPipeMockup : IDuplexPipe
  5. {
  6. PipeReader IDuplexPipe.Input => Receive.Reader;
  7. PipeWriter IDuplexPipe.Output => Send.Writer;
  8. public Pipe Receive { get; set; } = new Pipe();
  9. public Pipe Send { get; set; } = new Pipe();
  10. }
  11. }