Table of Contents

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 HttpMethod

http method

uri string

uri

version Version

http 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 HttpMethod

http method

uri Uri

uri

version Version

http version, default is 2.0

Returns

HttpRequestMessage

request message