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
[Pure]
public static HttpRequestMessage To(this HttpMethod method, string uri, Version? version = null)
Parameters
method
HttpMethodhttp method
uri
stringuri
version
Versionhttp 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
[Pure]
public static HttpRequestMessage To(this HttpMethod method, Uri uri, Version? version = null)
Parameters
method
HttpMethodhttp method
uri
Uriuri
version
Versionhttp version, default is 2.0
Returns
- HttpRequestMessage
request message