Summary
HTTPX is a modular and extensible library designed for Arma Reforger.
Description
## HTTPX Library for Arma Reforger
HTTPX is a modular and extensible library designed for Arma Reforger, providing a robust framework for handling HTTP requests, JSON data, and API communication. It enables developers to easily integrate external services, backends, and microservices into their mods or multiplayer servers.
### Key Features
- HTTP Client Abstraction:
- Base HttpClient class for custom implementations.
- RestHttpClient fully implements GET, POST, PUT using Arma Reforger’s native REST system.
- JSON Management:
- JSONValue class for dynamic JSON creation (objects, arrays, strings, numbers, booleans, null).
- JSONSerializer to serialize any JSON structure into a valid JSON string.
- API Client Framework:
- ApiClientBase provides reusable methods for GET, POST, PUT requests.
- Supports custom headers and integration with callbacks.
- Callback System:
- RestCallback interface handles success, error, and timeout scenarios.
- Logging Utilities:
- Log class provides consistent info, debug, error, and custom logging for better debugging and monitoring.
### Use Cases
- Connecting Arma Reforger servers/mods to external APIs (leaderboards, statistics, login systems).
- Sending player events and game data to backend services.
- Building microservices or automated tools that interact with game servers.
- Modular and reusable solution for multiple projects.
HTTPX aims to simplify HTTP integration, make JSON handling effortless, and provide a structured approach for building robust, maintainable Arma Reforger mods.
### Contact
Discord: @b.l.k.z
### Non-Commercial Use License - HTTPX
Copyright (c) 2025 – Matheus
All rights reserved.
This license grants permission for free and non-commercial use of the library, under the terms below.
### ALLOWED
You are permitted to:
- Use the Software in your personal or community projects.
- Incorporate the Software into mods, addons, or tools, provided that:
- the use is entirely non-commercial, and
- you do not redistribute the source code.
### PROHIBITED
You are not permitted to:
- Copy, publish, or redistribute the source code of this library, in whole or in part.
- Use the Software for commercial purposes, or in any context that generates direct or indirect revenue.
- Sell, license, sublicense, or monetize mods, products, or services that make use of this library.
License