src/Api/HttpApi.php
protected function httpPut(string $path, array $parameters = [], array $requestHeaders = []): ResponseInterface
    {
        try {
            $response = $this->httpClient->sendRequest(
                $this->requestBuilder->create('PUT', $path, $requestHeaders, $this->createRequestBody($parameters))
            );
        } catch (Psr18\NetworkExceptionInterface $e) {
            throw HttpServerException::networkError($e);
        }

        return $response;
    }
protected function httpPut(string $path, array $parameters = [], array $requestHeaders = []): ResponseInterface
    {
        try {
            $response = $this->httpClient->sendRequest(
                $this->requestBuilder->create('PUT', $path, $requestHeaders, $this->createRequestBody($parameters))
            );
        } catch (Psr18\NetworkExceptionInterface $e) {
            throw HttpServerException::networkError($e);
        }

        return $response;
    }
protected function httpPut ( string $ path , array $ parameters = [ ] , array $ requestHeaders = [ ] ) : ResponseInterface { try { $ response = $ this -> httpClient -> sendRequest ( $ this -> requestBuilder -> create ( 'PUT' , $ path , $ requestHeaders , $ this -> createRequestBody ( $ parameters ) ) ) ; } catch ( Psr18 \ NetworkExceptionInterface $ e ) { throw HttpServerException :: networkError ( $ e ) ; } return $ response ; }
Send a PUT request.

@param string $path           Request path
@param array  $parameters     PUT parameters
@param array  $requestHeaders Request headers
Send a PUT request .