From 535dbda6b48171f8115b455e54790de94d97d42a Mon Sep 17 00:00:00 2001 From: Murilo Ijanc Date: Sun, 26 Jul 2026 16:41:48 -0300 Subject: Initial import --- lib/cepis/Transport.php | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lib/cepis/Transport.php (limited to 'lib/cepis/Transport.php') diff --git a/lib/cepis/Transport.php b/lib/cepis/Transport.php new file mode 100644 index 0000000..811ac69 --- /dev/null +++ b/lib/cepis/Transport.php @@ -0,0 +1,45 @@ + $headers Request headers to send, as + * name => value. + * @param float $timeout Seconds to allow for this single + * attempt. Implementations that distinguish connect from read timeouts + * should apply it to both. + * + * @throws NetworkException the request never completed. + */ + public function get(string $url, array $headers, float $timeout): Response; +} -- cgit v1.3