API Network README - evansims/openfga-php GitHub Wiki

API Documentation > Network

HTTP client abstractions, retry strategies, and low-level networking components.

Total Components: 19


Interfaces

Name Description
CircuitBreakerInterface Circuit breaker interface for preventing cascade failures in distributed systems. This interface ...
ConcurrentExecutorInterface Interface for concurrent task execution. This interface defines the contract for executing multip...
HttpClientInterface HTTP client interface for sending HTTP requests. This interface abstracts the HTTP client impleme...
RequestContextInterface Represents the context for an HTTP request to the OpenFGA API. This interface encapsulates all th...
RequestManagerInterface Manages HTTP requests and responses for OpenFGA API communication. This interface defines the cor...
RetryHandlerInterface Retry handler interface for advanced HTTP request retry strategies. This interface defines the co...
RetryStrategyInterface Interface for implementing retry strategies. This interface defines the contract for different re...


Classes

Name Description
BatchRequestProcessor Handles batch processing of write tuple requests. This class encapsulates the logic for processin...
CircuitBreaker Circuit breaker implementation for preventing cascade failures in distributed systems. This class...
ExponentialBackoffRetryStrategy Exponential backoff retry strategy implementation. This strategy implements exponential backoff w...
FiberConcurrentExecutor Fiber-based concurrent executor implementation. This implementation uses PHP 8.1+ Fibers to execu...
ParallelTaskExecutor Executes tasks in parallel using the RequestManager infrastructure. This class provides a clean a...
PsrHttpClient PSR-18 compliant HTTP client implementation. This implementation wraps any PSR-18 compatible HTTP...
RequestContext Implementation of request context for OpenFGA API operations. This class provides a concrete impl...
RequestManager Concrete implementation of HTTP request management for OpenFGA API communication. This class prov...
RequestManagerFactory Factory for creating RequestManager instances. This factory encapsulates the creation of RequestM...
RetryHandler Concrete implementation of the retry handler using standard sleep delays. This final class provid...
SimpleConcurrentExecutor Simple concurrent executor implementation. This implementation provides a fallback for environmen...


Enumerations

Name Description
RequestMethod HTTP request methods supported by the OpenFGA API. This enum defines the specific HTTP methods us...
⚠️ **GitHub.com Fallback** ⚠️