HttpTransportType 列舉

定義

指定用戶端可用來傳送 HTTP 要求的傳輸。

此列舉支援其成員值的位元組合。

public enum class HttpTransportType
[System.Flags]
public enum HttpTransportType
[<System.Flags>]
type HttpTransportType = 
Public Enum HttpTransportType
繼承
HttpTransportType
屬性

欄位

LongPolling 4

指定使用長時間輪詢傳輸。

None 0

指定未使用傳輸。

ServerSentEvents 2

指定使用伺服器傳送的事件傳輸。

WebSockets 1

指定使用 Web 通訊端傳輸。

備註

這個列舉型別的 FlagsAttribute 屬性允許成員值的位元組合。

適用於