共用方式為


StreamingRequest.CreatePost(String, HttpContent) 方法

定義

建立 , StreamingRequest 將資料張貼至遠端伺服器。

public static Microsoft.Bot.Streaming.StreamingRequest CreatePost(string path = default, System.Net.Http.HttpContent body = default);
static member CreatePost : string * System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingRequest
Public Shared Function CreatePost (Optional path As String = Nothing, Optional body As HttpContent = Nothing) As StreamingRequest

參數

path
String

可在遠端伺服器上找到資源的選擇性路徑。

body
HttpContent

要傳送至遠端伺服器的選擇性本文。

傳回

StreamingRequest具有適當狀態碼和本文的 。

適用於