Dela via


WebHostBuilderSocketExtensions Class

Definition

IWebHostBuilder extension methods to configure the Socket transport to be used by Kestrel.

public ref class WebHostBuilderSocketExtensions abstract sealed
public static class WebHostBuilderSocketExtensions
type WebHostBuilderSocketExtensions = class
Public Module WebHostBuilderSocketExtensions
Inheritance
WebHostBuilderSocketExtensions

Methods

UseSockets(IWebHostBuilder, Action<SocketTransportOptions>)

Specify Sockets as the transport to be used by Kestrel.

UseSockets(IWebHostBuilder)

Specify Sockets as the transport to be used by Kestrel.

Applies to