Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

API Network HttpClientInterface

Evan Sims edited this page Jun 17, 2025 · 10 revisions

HTTP client interface for sending HTTP requests. This interface abstracts the HTTP client implementation, allowing different HTTP clients to be used interchangeably. It follows the PSR-18 HTTP Client standard for compatibility.

Table of Contents


Namespace

OpenFGA\Network


Source

View source code


Methods

send

public function send(RequestInterface $request): ResponseInterface

Send an HTTP request and return the response.

View source


Parameters

Name Type Description
$request RequestInterface The HTTP request to send

Returns

ResponseInterface — The HTTP response

Clone this wiki locally