blob: 0daace2ac9fc7934b06d57e1778646ca51612b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
namespace Mediawiki\Api;
/**
* @since 0.2
*
* @author Addshore
*/
interface Request {
/**
* @since 0.2
*
* @return array
*/
public function getParams();
/**
* Associative array of headers to add to the request.
* Each key is the name of a header, and each value is a string or array of strings representing
* the header field values.
*
* @since 0.3
*
* @return array
*/
public function getHeaders();
}
|