StreamingRequest.CreatePost(String, HttpContent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a StreamingRequest to post data to a remote server.
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
Parameters
- path
- String
Optional path where the resource can be found on the remote server.
- body
- HttpContent
Optional body to send to the remote server.
Returns
A StreamingRequest with appropriate status code and body.