Best HTTP is an asset designed to simplify complex, resource hungry requests. It boosts project efficiency, guarantees secure communication, and seamlessly integrates with Unity’s ecosystem.
For more details this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Best HTTP for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Best HTTP v3.0.17 (31 Aug 2025) (Latest version)
Best HTTP v3.0.16 (25 Jun 2025)
Best HTTP v3.0.15 (27 Mar 2025)
Best HTTP v3.0.13 (04 Mar 2025)
Best HTTP v3.0.11 (09 Sep 2024)
Best HTTP v3.0.10
“If possible, please buy the package to support the developer”
If you want a plugin that supports request customization for REST, WebSocket, Socket.IO, SignalR, SignalR Core, Server-Sent Events (and much more) over HTTP/2 out of the box, with regular updates and outstanding support from the developer, then BestHTTP/2 is THE tool for you!
Best HTTP is the definitive networking solution for Unity, designed for developers who demand both versatility and power. Seamlessly compatible with Unity versions from 2021.1 onwards, it offers unparalleled cross-platform support, spanning Desktop, Mobile, UWP, and Web Browsers. With its advanced feature set, it goes beyond basic HTTP requests, offering support for HTTPS, HTTP/2, and providing flexibility with versatile request outcome handling via traditional callbacks, Unity coroutines, and the modern async-await pattern.
Not only is Best HTTP universally compatible without requiring special server setups, but it also boasts advanced features like caching, multiple authentication methods, cookie management, compression, streaming, and a rich set of customization options. A standout feature is its built-in profiler, giving developers deep insights into memory usage and network operations, ensuring optimal performance and facilitating debugging.
Comparatively, Best HTTP outshines UnityWebRequest in many aspects, from its advanced DNS caching capabilities to its structured diagnostic logging. Whether you’re working on a simple app or an expansive multiplayer game, Best HTTP ensures that your network operations are efficient, secure, and consistent. With source code inclusion and robust documentation, developers are equipped with all the tools they need for successful network implementations.
You can try out the package on its own demo page and read the online documentation.
All source code included!
? Core Dependency for Extended Functionality ?
Best HTTP stands as the backbone for a multitude of specialized networking assets. Its robust and efficient architecture serves as a fundamental dependency, powering numerous other packages like Best WebSockets, Best MQTT, Best Socket.IO, Best SignalR and more. This central role ensures that when you invest in Best HTTP, you’re not just getting a standalone package, but a gateway to a suite of advanced networking tools, all unified in their reliability and performance.
Key Features
Unity Compatibility: Compatible with Unity versions starting from 2021.1 onwards.
Platform Support: Whether you’re targeting desktop, mobile, or web platforms, Best HTTP has got you covered. Experience consistent performance across all major platforms supported by Unity:
? Desktop Platforms: Windows, Linux, MacOS.
? Mobile Platforms: iOS, Android.
Additional Support: Universal Windows Platform (UWP) and WebGL.
Furthermore, user reports suggest that Best HTTP also functions on the following platforms. However, due to the lack of testing capabilities, official support for these platforms is not provided:
Xbox
PlayStation
Nintendo Switch
Please note that while there is evidence of compatibility with these platforms, I’m unable to offer official support or guarantee full functionality due to testing limitations.
Request Handling Flexibility:
Traditional Callbacks: Simple and straightforward response handling.
Unity Coroutines: Non-blocking operations integrated with Unity’s workflow.
Async-Await Pattern: Linear, non-blocking code for asynchronous operations.
Advanced Networking Features:
? Connection Pooling for both HTTP/1 and HTTP/2.
? DNS Caching with prefetching capabilities.
Advanced response processing with support for authentication challenges, trailing headers, and more.
Performance Tuning: Fine-tune the asset to your application’s needs, adjusting parameters for optimal performance and minimal resource usage.
?Memory Buffer Pooling: Optimized memory management through buffer pooling reduces allocations and garbage collections, leading to smoother performance, especially in large upload or download scenarios.
Server Compatibility: No special server setup required, works with legacy and latest server technologies.
Protocol Support:
Supports both HTTP and HTTPS protocols for secure communication.
?Advanced support for HTTP/2 features, including trailing headers for scenarios like GRPC.
Efficient Data Management:
?Caching Mechanisms: Reduce redundant network requests.
Compression: Gzip and deflate algorithms for bandwidth optimization.
Data Transfer:
? Streaming: Support for streaming both downloads and uploads to avoid memory bottlenecks.
? Forms: url-encoded, multipart, json
Encoding: Chunked and raw
Request Customization: Customizable headers, timeouts, and other parameters.
? Profiler Integration:
Memory Profiler: Monitor internal memory usage.
Network Profiler: Granular analysis with features like byte tracking, connection analysis, and DNS cache profiling.
Debugging and Logging: Comprehensive logging options for insights and debugging.
? Security and Authentication:
Multiple authentication methods supported: Basic, Digest, and Bearer token.
? Cookie Management: Effortless cookie handling for web applications.
Extensions & Plugins: Built to support additional extensions and plugins for extended functionality.
Code Availability: Source code included for flexibility and customization.
Supported platforms:
– WebGL
– iOS, Android
– UWP, Windows, Mac OS X, Linux
Most notable features are:
– HTTP/2
– Customize all parts of your requests:
◦ Methods(GET, HEAD, POST, PUT, DELETE, PATCH)
◦ Headers
◦ Cookies
◦ Max redirect count
◦ Timeouts
– Access every bits sent by the server:
◦ Headers
◦ Status code
◦ Cookies
◦ Raw content
◦ Trailing headers
– Connection and memory pooling
– Connection and request timeouts
– Automatic Cookie handling
– Great range of Proxy support (Fiddler, Charles, etc.)
– HTTP and Socks Proxy support
– Automatic caching and cache validatation
– Set your cache size and freshness
– gzip content encoding
– Basic and Digest authentication
– Multiple form types (url-encoded and multipart/form-data)
– Automatic redirection handling
– Upload and Download progress tracking
– Access your data while downloading
– You can resume downloads using Range headers
– HTTPS
– Customize a great range of global settings:
◦ Max connection per server
◦ Enable/disable cookies
◦ Private ‘Browsing’
◦ Cookie Jar size
◦ etc
WebSocket features:
– Full RFC compliance
– Easy to use, ‘just works’ experience
– Support for extensions:
◦ Compression Extensions for WebSocket (RFC7692)
Socket.IO features:
– Compliance with the latest (1.x and 2.x) Socket.IO implementations
– Automatic transport upgrade and downgrade
– Binary data sending and receiving
– You can plug in your favorite Json decoder
SignalR Core features:
– Supports latest SignalR Core
– Support for MessagePack encoding
– Strongly typed callbacks
– Uses the fastest Websocket transport with fallback option to long-polling
– Package includes a Header-based authenticator
– Upload and download streaming
SignalR features:
– Works with the latest SignalR implementation
– Easy to use API
– Hubs
– Support for authentication
– Progress messages for long running jobs
– Automatic transport upgrade/downgrade
– You can plug in your favorite Json decoder
Server-Sent Events features:
– Compatible with the latest specification
– Easy to use API
Useful links:
– Documentation
– Samples repository
– Server repository
– Issues, questions
– Discord
– Twitter
– LinkedIn
For support, feature request or general questions you can email me at [email protected], or create a new issue at the plugin’s public Issues repository: https://github.com/Benedicht/BestHTTP-Issues
This asset uses DotNetZip under Microsoft Public License (MS-PL), BouncyCastle under MIT and LitJson under Public Domain; see Third-Party Notices.txt file in package for details.