KestrelServerOptions.ListenUnixSocket 方法

定义

重载

ListenUnixSocket(String)

绑定到给定的 Unix 域套接字路径。

ListenUnixSocket(String, Action<ListenOptions>)

绑定到给定的 Unix 域套接字路径。 指定回调以配置特定于终结点的设置。

ListenUnixSocket(String)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

绑定到给定的 Unix 域套接字路径。

public:
 void ListenUnixSocket(System::String ^ socketPath);
public void ListenUnixSocket (string socketPath);
member this.ListenUnixSocket : string -> unit
Public Sub ListenUnixSocket (socketPath As String)

参数

socketPath
String

适用于

ListenUnixSocket(String, Action<ListenOptions>)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

绑定到给定的 Unix 域套接字路径。 指定回调以配置特定于终结点的设置。

public:
 void ListenUnixSocket(System::String ^ socketPath, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void ListenUnixSocket (string socketPath, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.ListenUnixSocket : string * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub ListenUnixSocket (socketPath As String, configure As Action(Of ListenOptions))

参数

socketPath
String
configure
Action<ListenOptions>

适用于