Exemple #1
0
 /**
  * {@inheritdoc}
  *
  * @throws \Ivory\HttpAdapter\HttpAdapterException The method is not supported, you should rely to datas/files instead.
  */
 public function setBody(StreamableInterface $body = null)
 {
     if ($body !== null) {
         throw HttpAdapterException::doesNotSupportBody();
     }
 }