KestrelConfigurationLoader.UnixSocketEndpoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UnixSocketEndpoint(String) |
绑定到给定的 Unix 域套接字路径。 |
UnixSocketEndpoint(String, Action<ListenOptions>) |
绑定到给定的 Unix 域套接字路径。 |
UnixSocketEndpoint(String)
绑定到给定的 Unix 域套接字路径。
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ UnixSocketEndpoint(System::String ^ socketPath);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader UnixSocketEndpoint (string socketPath);
member this.UnixSocketEndpoint : string -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function UnixSocketEndpoint (socketPath As String) As KestrelConfigurationLoader
参数
- socketPath
- String
返回
适用于
UnixSocketEndpoint(String, Action<ListenOptions>)
绑定到给定的 Unix 域套接字路径。
public:
Microsoft::AspNetCore::Server::Kestrel::KestrelConfigurationLoader ^ UnixSocketEndpoint(System::String ^ socketPath, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader UnixSocketEndpoint (string socketPath, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.UnixSocketEndpoint : string * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> Microsoft.AspNetCore.Server.Kestrel.KestrelConfigurationLoader
Public Function UnixSocketEndpoint (socketPath As String, configure As Action(Of ListenOptions)) As KestrelConfigurationLoader
参数
- socketPath
- String
- configure
- Action<ListenOptions>