Share via


Transmission.CreateRequest(Uri) Method

Definition

Caution

Use CreateRequestMessage instead as SendAsync is now using HttpClient to send HttpRequest.

Creates a post web request.

[System.Obsolete("Use CreateRequestMessage instead as SendAsync is now using HttpClient to send HttpRequest.")]
protected virtual System.Net.WebRequest CreateRequest (Uri address);
[<System.Obsolete("Use CreateRequestMessage instead as SendAsync is now using HttpClient to send HttpRequest.")>]
abstract member CreateRequest : Uri -> System.Net.WebRequest
override this.CreateRequest : Uri -> System.Net.WebRequest
Protected Overridable Function CreateRequest (address As Uri) As WebRequest

Parameters

address
Uri

The Address in the web request.

Returns

A web request pointing to the Address.

Attributes

Applies to