Skip to content

DurableHttpClientOptions Methods

Configures an IDurableHttpClient.

IsSameOrigin(Uri, Uri)

static
View source
public static bool IsSameOrigin(Uri requestUri, Uri location)
Returns whether location has the scheme, host, and port of requestUri.

Parameters

requestUriUri
The URL of the request which started the operation.
locationUri
The operation's location.

Returns

true when both URLs have one origin.