Share via


StreamingRequest.CreatePut(String, HttpContent) Method

Definition

Creates a StreamingRequest to put updated data on a remote server.

public static Microsoft.Bot.Streaming.StreamingRequest CreatePut (string path = default, System.Net.Http.HttpContent body = default);
static member CreatePut : string * System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingRequest
Public Shared Function CreatePut (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