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
HttpResponseMessageresponse
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
HttpResponseMessageresponse
content
IEnumerable<KeyValuePair<string, string>>response content
Returns
- HttpResponseMessage
response