[This is preliminary documentation and is subject to change.]
Namespace: NFX.IO.FileSystem.S3.V4Assembly: NFX.Web (in NFX.Web.dll) Version: 3.0.0.1 (3.0.0.1)
public static HttpWebRequest ConstructWebRequest(
this Uri uri,
string method,
Stream contentStream,
IDictionary<string, string> headers,
int timeout = 0
)
public static HttpWebRequest ConstructWebRequest(
this Uri uri,
string method,
Stream contentStream,
IDictionary<string, string> headers,
int timeout = 0
)
<ExtensionAttribute>
Public Shared Function ConstructWebRequest (
uri As Uri,
method As String,
contentStream As Stream,
headers As IDictionary(Of String, String),
Optional timeout As Integer = 0
) As HttpWebRequest
<ExtensionAttribute>
Public Shared Function ConstructWebRequest (
uri As Uri,
method As String,
contentStream As Stream,
headers As IDictionary(Of String, String),
Optional timeout As Integer = 0
) As HttpWebRequest
public:
[ExtensionAttribute]
static HttpWebRequest^ ConstructWebRequest(
Uri^ uri,
String^ method,
Stream^ contentStream,
IDictionary<String^, String^>^ headers,
int timeout = 0
)
public:
[ExtensionAttribute]
static HttpWebRequest^ ConstructWebRequest(
Uri^ uri,
String^ method,
Stream^ contentStream,
IDictionary<String^, String^>^ headers,
int timeout = 0
)
static member ConstructWebRequest :
uri : Uri *
method : string *
contentStream : Stream *
headers : IDictionary<string, string> *
?timeout : int
(* Defaults:
let _timeout = defaultArg timeout 0
*)
-> HttpWebRequest
static member ConstructWebRequest :
uri : Uri *
method : string *
contentStream : Stream *
headers : IDictionary<string, string> *
?timeout : int
(* Defaults:
let _timeout = defaultArg timeout 0
*)
-> HttpWebRequest
Return Value
Type:
HttpWebRequestUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Uri. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).