Table of Contents

Method WithFormUrlContent

Namespace
HttpBuildR
Assembly
HttpBuildR.Response.dll

WithFormUrlContent(HttpResponseMessage, params KeyValuePair<string, string>[])

Modifies the HttpResponseMessage with FormUrlEncodedContent content

public static HttpResponseMessage WithFormUrlContent(this HttpResponseMessage response, params KeyValuePair<string, string>[] content)

Parameters

response HttpResponseMessage

response

content KeyValuePair<string, string>[]

response content

Returns

HttpResponseMessage

response

WithFormUrlContent(HttpResponseMessage, IEnumerable<KeyValuePair<string, string>>)

Modifies the request with from url encoded content

public static HttpResponseMessage WithFormUrlContent(this HttpResponseMessage response, IEnumerable<KeyValuePair<string, string>> content)

Parameters

response HttpResponseMessage

response

content IEnumerable<KeyValuePair<string, string>>

response content

Returns

HttpResponseMessage

response