StreamingResponse.OK(HttpContent) Method

Definition

Creates a response indicating the request was successful.

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

Parameters

body
HttpContent

An optional body containing additional information.

Returns

A response with the appropriate statuscode and passed in body.

Applies to