Welcome to mirror list, hosted at ThFree Co, Russian Federation.

HttpRequestInterface.php « Request « Common « OpenCloud « lib « php-opencloud « 3rdparty « files_external « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbe3b5412a130355d57e8294d4c1380b37e57205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace OpenCloud\Common\Request;

/**
 * The HttpRequest interface defines methods for wrapping CURL; this allows
 * those methods to be stubbed out for unit testing, thus allowing us to
 * test without actually making live calls.
 */
interface HttpRequestInterface
{
    
    public function SetOption($name, $value);

    public function setheaders($arr);

    public function SetHeader($header, $value);

    public function Execute();

    public function close();

}