HttpClient.CreateWebRequestObject

Creates a new WebRequest instance that can be set prior to calling the various Get methods. You can then manipulate the WebRequest property, to custom configure the request.

Instead of passing a URL you can then pass null.

Note - You need a new Web Request for each and every request so you need to set this object for every call if you manually customize it.

public bool CreateWebRequestObject(string Url)

Return Value

Boolean

Parameters

Url


See also:

Class HttpClient

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic