RequestUtilities.MakeDestinationAddress 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.
Appends the given path and query to the destination prefix while avoiding duplicate '/'.
public static Uri MakeDestinationAddress (string destinationPrefix, Microsoft.AspNetCore.Http.PathString path, Microsoft.AspNetCore.Http.QueryString query);
static member MakeDestinationAddress : string * Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Http.QueryString -> Uri
Public Shared Function MakeDestinationAddress (destinationPrefix As String, path As PathString, query As QueryString) As Uri
Parameters
- destinationPrefix
- String
The scheme, host, port, and optional path base for the destination server. e.g. "http://example.com:80/path/prefix"
- path
- PathString
The path to append.
- query
- QueryString
The query to append