canBeUsedForUri method

bool canBeUsedForUri(
  1. Uri uri
)

Checks if this configuration can be used for the given URL.

A configuration can be used for a URL if the URL's host matches one of the hosts specified in the configuration's hosts behind proxy.

Parameters:

  • uri — The URL to check.

Return Value: True if this configuration can be used, otherwise false.