Table of Contents

Class RequestUtilities

Namespace
Yarp.ReverseProxy.Forwarder
Assembly
Yarp.ReverseProxy.dll

APIs that can be used when transforming requests.

public static class RequestUtilities
Inheritance
RequestUtilities
Inherited Members

Methods

MakeDestinationAddress(string, PathString, QueryString)

Appends the given path and query to the destination prefix while avoiding duplicate '/'.

public static Uri MakeDestinationAddress(string destinationPrefix, PathString path, QueryString query)

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

Returns

Uri