Method To
- Namespace
- HttpBuildR
- Assembly
- HttpBuildR.Request.dll
To(HttpMethod, string, Version?)
Starts the creation of a new HttpRequestMessage from the given HttpMethod and Uri
public static HttpRequestMessage To(this HttpMethod method, string uri, Version? version = null)
Parameters
methodHttpMethodhttp method
uristringuri
versionVersionhttp version, default is 2.0
Returns
- HttpRequestMessage
request message
To(HttpMethod, Uri, Version?)
Starts the creation of a new HttpRequestMessage from the given HttpMethod and Uri
public static HttpRequestMessage To(this HttpMethod method, Uri uri, Version? version = null)
Parameters
methodHttpMethodhttp method
uriUriuri
versionVersionhttp version, default is 2.0
Returns
- HttpRequestMessage
request message