Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.AspNetCore.Http.Features.md')
-rw-r--r--release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.AspNetCore.Http.Features.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.AspNetCore.Http.Features.md b/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.AspNetCore.Http.Features.md
new file mode 100644
index 00000000..d0c508eb
--- /dev/null
+++ b/release-notes/7.0/preview/api-diff/rc1/Microsoft.AspNetCore.App/7.0-rc1_Microsoft.AspNetCore.Http.Features.md
@@ -0,0 +1,19 @@
+# Microsoft.AspNetCore.Http.Features
+
+``` diff
+ namespace Microsoft.AspNetCore.Http.Features {
++ [RequiresPreviewFeaturesAttribute("WebTransport is a preview feature")]
++ public interface IHttpWebTransportFeature {
++ bool IsWebTransportRequest { get; }
++ ValueTask<IWebTransportSession> AcceptAsync(CancellationToken cancellationToken = default(CancellationToken));
++ }
++ [RequiresPreviewFeaturesAttribute("WebTransport is a preview feature")]
++ public interface IWebTransportSession {
++ long SessionId { get; }
++ void Abort(int errorCode);
++ ValueTask<ConnectionContext?> AcceptStreamAsync(CancellationToken cancellationToken = default(CancellationToken));
++ ValueTask<ConnectionContext?> OpenUnidirectionalStreamAsync(CancellationToken cancellationToken = default(CancellationToken));
++ }
+ }
+```
+