src/Application/HttpClient/HttpService.php
public function patchAsync(
        $uri,
        array $parameters = [],
        ?ContentType $contentType = null,
        array $headers = [],
        string $protocol = '1.1'
    ): Promise {
        $request = $this->createBodyRequest(
            static::METHOD_PATCH,
            $uri,
            $parameters,
            $contentType,
            $headers,
            $protocol
        );

        return $this->sendAsync($request);
    }
public function patchAsync(
        $uri,
        array $parameters = [],
        ?ContentType $contentType = null,
        array $headers = [],
        string $protocol = '1.1'
    ): Promise {
        $request = $this->createBodyRequest(
            static::METHOD_PATCH,
            $uri,
            $parameters,
            $contentType,
            $headers,
            $protocol
        );

        return $this->sendAsync($request);
    }
public function patchAsync ( $ uri , array $ parameters = [ ] , ? ContentType $ contentType = null , array $ headers = [ ] , string $ protocol = '1.1' ) : Promise { $ request = $ this -> createBodyRequest ( static :: METHOD_PATCH , $ uri , $ parameters , $ contentType , $ headers , $ protocol ) ; return $ this -> sendAsync ( $ request ) ; }
Sends a PATCH request asynchronously

@param string|UriInterface $uri         Request URI
@param array               $parameters  Query parameters
@param ContentType|null    $contentType The content type
@param array               $headers     Request headers
@param string              $protocol    Protocol version

@return Promise
Sends a PATCH request asynchronously