StreamingRequest.CreatePost(String, HttpContent) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un StreamingRequest message pour envoyer des données sur un serveur distant.
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
Paramètres
- path
- String
Chemin d’accès facultatif où se trouve la ressource sur le serveur distant.
- body
- HttpContent
Corps facultatif à envoyer au serveur distant.
Retours
A StreamingRequest avec un code de statut et un corps appropriés.