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

API Network PsrHttpClient

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

PSR-18 compliant HTTP client implementation. This implementation wraps any PSR-18 compatible HTTP client, providing automatic discovery if no client is provided. It ensures compatibility with various HTTP client libraries while maintaining a consistent interface for the OpenFGA SDK.

Table of Contents


Namespace

OpenFGA\Network


Source

View source code


Implements


Methods

send

public function send(Psr\Http\Message\RequestInterface $request): Psr\Http\Message\ResponseInterface

Send an HTTP request and return the response.

View source


Parameters

Name Type Description
$request Psr\Http\Message\RequestInterface The HTTP request to send

Returns

Psr\Http\Message\ResponseInterface — The HTTP response

Clone this wiki locally