19 lines
495 B
C#
19 lines
495 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Microsoft.AspNetCore.Sockets
|
|
{
|
|
public interface ISocketBuilder
|
|
{
|
|
IServiceProvider ApplicationServices { get; }
|
|
|
|
ISocketBuilder Use(Func<SocketDelegate, SocketDelegate> middleware);
|
|
|
|
SocketDelegate Build();
|
|
}
|
|
}
|