Exemple #1
0
 /**
  * Builds a copy of another HTTPRequestInterface.
  *
  * @param HTTPRequestInterface 	$source 	The request to clone
  * @return HTTPRequestCustom
  */
 public static function copyOf(HTTPRequestInterface $source)
 {
     return new HTTPRequestCustom($source->getURL(), $source->getMethod(), $source->getHeadersList(), $source->getRawData(), $source->isHTTPS());
 }