Share via


StreamingRequest.CreateGet(String, HttpContent) Method

Definition

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.

Applies to