CodeExplorer prepareURL example
public function request($method, string
$url, array
$options =
[]): ResponseInterface
{ $this->response =
clone $this->responseOrig;
$this->
parseOptions($options);
$url =
$this->
prepareURL($url);
$method =
esc(strip_tags($method));
$this->
send($method,
$url);
if ($this->shareOptions === false
) { $this->
resetOptions();
} return $this->response;
}