StreamingRequest.CreateGet(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 get resources hosted on a remote server.
public static Microsoft.Bot.Streaming.StreamingRequest CreateGet (string path = default, System.Net.Http.HttpContent body = default);
static member CreateGet : string * System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingRequest
Public Shared Function CreateGet (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.