HttpSettingsExtensions.

SetRequestBody(HttpSettings, string) Method

Summary

Sets the request body from a string input
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings SetRequestBody(this HttpSettings settings, string requestBody)

Parameters

Name Type Description
settings HttpSettings The settings.
requestBody string The string to set as the request body.

Return Value

Type Description
HttpSettings The same HttpSettings instance so that multiple calls can be chained.