interface DestinationPolicy

Methods

resolve(string $url, float $timeoutSeconds)

Resolve and authorize one outbound destination within the given time budget.

Details

at line 16
ResolvedDestination resolve(string $url, float $timeoutSeconds)

Resolve and authorize one outbound destination within the given time budget.

Parameters

string $url
float $timeoutSeconds

Return Value

ResolvedDestination

Exceptions

DisallowedDestinationException
DestinationResolutionException
ProxyConnectionException