Share via


IHttpConnectionFeature 介面

定義

關於攜帶要求的 TCP/IP 連線相關資訊。

public interface class IHttpConnectionFeature
public interface IHttpConnectionFeature
type IHttpConnectionFeature = interface
Public Interface IHttpConnectionFeature
衍生

屬性

ConnectionId

取得或設定收到要求之連接的唯一識別碼。 這主要是用於診斷用途。

LocalIpAddress

取得或設定收到要求的本機 IPAddress。

LocalPort

取得或設定接收要求的本機埠。

RemoteIpAddress

取得或設定發出要求之用戶端的 IPAddress。 請注意,這可能適用于 Proxy,而不是使用者。

RemotePort

取得或設定發出要求之用戶端的遠端埠。

適用於