SGIRequestAdapter.php
7 years ago
SGRequest.php
7 years ago
SGRequestAdapterWordpress.php
5 years ago
SGResponse.php
7 years ago
SGIRequestAdapter.php
15 lines
| 1 | <?php |
| 2 | |
| 3 | interface SGIRequestAdapter |
| 4 | { |
| 5 | public function sendPostRequest(); |
| 6 | public function sendGetRequest(); |
| 7 | public function sendRequest($type); |
| 8 | public function setHeaders($headers); |
| 9 | public function setUrl($url); |
| 10 | public function setParams($params); |
| 11 | public function addHeader($header); |
| 12 | public function setGetWithQueryParams($getWithQueryParams); |
| 13 | public function parseResponse(); |
| 14 | } |
| 15 |