# Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes

``` diff
 namespace Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes {
+    public sealed class CreateNamedPipeServerStreamContext {
+        public CreateNamedPipeServerStreamContext();
+        public required NamedPipeEndPoint NamedPipeEndPoint { get; set; }
+        public required PipeOptions PipeOptions { get; set; }
+        public PipeSecurity? PipeSecurity { get; set; }
+    }
     public sealed class NamedPipeTransportOptions {
+        public Func<CreateNamedPipeServerStreamContext, NamedPipeServerStream> CreateNamedPipeServerStream { get; set; }
+        public static NamedPipeServerStream CreateDefaultNamedPipeServerStream(CreateNamedPipeServerStreamContext context);
     }
 }
```

