Méthode |
Description |
|
URLHasAllowedScheme ( $url ) |
Is this an http or https URL? |
|
_findRedirect ( $headers, $url ) |
|
|
allowedURL ( $url ) |
Return whether a URL should be allowed. Override this method to
conform to your local policy. |
|
canFetchURL ( $url ) : boolean |
Return whether a URL can be fetched. Returns false if the URL
scheme is not allowed or is not supported by this fetcher
implementation; returns true otherwise. |
|
get ( string $url, $headers = null ) : mixed |
Fetches the specified URL using optional extra headers and
returns the server's response. |
|
isHTTPS ( $url ) |
Is this an https URL? |
|
supportsSSL ( ) : boolean |
Does this fetcher implementation (and runtime) support fetching
HTTPS URLs? May inspect the runtime environment. |
|