http_client_interface.php 274 Bytes
Newer Older
1
2
3
4
5
6
7
<?php

namespace local_asystgrade\api;

defined('MOODLE_INTERNAL') || die();

interface http_client_interface {
8
9
10
11
12
13
14

    /**
     * @param string $url
     * @param array $data
     * @return bool|string
     */
    public function post(string $url, array $data): bool|string;
15
}