src/Tus/Client.php
public function delete()
    {
        try {
            $this->getClient()->delete($this->getUrl());
        } catch (ClientException $e) {
            $statusCode = $e->getResponse()->getStatusCode();

            if (HttpResponse::HTTP_NOT_FOUND === $statusCode || HttpResponse::HTTP_GONE === $statusCode) {
                throw new FileException('File not found.');
            }
        }
    }
public function delete()
    {
        try {
            $this->getClient()->delete($this->getUrl());
        } catch (ClientException $e) {
            $statusCode = $e->getResponse()->getStatusCode();

            if (HttpResponse::HTTP_NOT_FOUND === $statusCode || HttpResponse::HTTP_GONE === $statusCode) {
                throw new FileException('File not found.');
            }
        }
    }
public function delete ( ) { try { $ this -> getClient ( ) -> delete ( $ this -> getUrl ( ) ) ; } catch ( ClientException $ e ) { $ statusCode = $ e -> getResponse ( ) -> getStatusCode ( ) ; if ( HttpResponse :: HTTP_NOT_FOUND === $ statusCode || HttpResponse :: HTTP_GONE === $ statusCode ) { throw new FileException ( 'File not found.' ) ; } } }
Send DELETE request.

@throws FileException

@return void
Send DELETE request .