-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Groups multiple user stories. Can be grouped under a theme.area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsarea-signalrIncludes: SignalR clients and serversIncludes: SignalR clients and servers🥌 Bedrock
Milestone
Description
This is tracking the work to align our servers and SignalR client APIs with a proposed new socket abstraction. See #10308 for a detailed description (that issue was originally tracking this work before this epic was created).
New abstraction shape:
public abstract class ConnectionContext : IAsyncDisposable
{
// unchanged except for IAsyncDisposable base
}
public interface IConnectionListenerFactory
{
ValueTask<IConnectionListener> BindAsync(System.Net.EndPoint endpoint, CancellationToken cancellationToken = default);
}
public interface IConnectionListener : IAsyncDisposable
{
EndPoint EndPoint { get; }
ValueTask<ConnectionContext> AcceptAsync(CancellationToken cancellationToken = default);
ValueTask UnbindAsync(CancellationToken cancellationToken = default);
}
public interface IConnectionFactory
{
ValueTask<ConnectionContext> ConnectAsync(System.Net.EndPoint endpoint, CancellationToken cancellationToken = default);
}Child Items
- Client/server networking abstractions #10308 Client/server networking abstractions (covers the server-side work)
- Adopt Bedrock Client abstractions in SignalR client #10872 Adopt new Bedrock abstractions in SignalR Client.
- Implement IAsyncDisposable in Connection.Abstractions #10607 Implement IAsyncDisposable in Connection.Abstractions (a bit tangental but related enough)
- Convert Https connection adapter to connection middleware #4623 Convert https connection adapter to connection middleware
Metadata
Metadata
Assignees
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Groups multiple user stories. Can be grouped under a theme.area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsarea-signalrIncludes: SignalR clients and serversIncludes: SignalR clients and servers🥌 Bedrock