public function put(string $body, string $version = HttpVersion::HTTP_1_1): HttpResponse
    {
        return HttpRequest::create($this->httpUri, $this->headers)
                ->put($body, $this->timeout, $version);
    }
public function put(string $body, string $version = HttpVersion::HTTP_1_1): HttpResponse
    {
        return HttpRequest::create($this->httpUri, $this->headers)
                ->put($body, $this->timeout, $version);
    }
public function put ( string $ body , string $ version = HttpVersion :: HTTP_1_1 ) : HttpResponse { return HttpRequest :: create ( $ this -> httpUri , $ this -> headers ) -> put ( $ body , $ this -> timeout , $ version ) ; }
returns response object for given URI after PUT request

@api
@param   string  $body
@param   string  $version  optional  http version, defaults to HTTP/1.1
@return  \stubbles\peer\http\HttpResponse
@since   2.0.0
returns response object for given URI after PUT request