Transmission.CreateRequestMessage(Uri, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an http request for sending a transmission.
protected virtual System.Net.Http.HttpRequestMessage CreateRequestMessage (Uri address, System.IO.Stream contentStream);
abstract member CreateRequestMessage : Uri * System.IO.Stream -> System.Net.Http.HttpRequestMessage
override this.CreateRequestMessage : Uri * System.IO.Stream -> System.Net.Http.HttpRequestMessage
Protected Overridable Function CreateRequestMessage (address As Uri, contentStream As Stream) As HttpRequestMessage
Parameters
- address
- Uri
The address of the web request.
- contentStream
- Stream
The stream to write to.
Returns
The request. An object of type HttpRequestMessage.