Langue

StreamingResponse.OK(HttpContent) Méthode

Définition

Crée une réponse indiquant que la demande a été acceptée.

public static Microsoft.Bot.Streaming.StreamingResponse OK(System.Net.Http.HttpContent body = default);
static member OK : System.Net.Http.HttpContent -> Microsoft.Bot.Streaming.StreamingResponse
Public Shared Function OK (Optional body As HttpContent = Nothing) As StreamingResponse

Paramètres

body
HttpContent

Un corps optionnel contenant des informations supplémentaires.

Retours

Une réponse avec le code de statut approprié et le corps transmis.

S’applique à