Easy HTTP Web Requests

KornyAS

(0)
$15
Publisher KornyAS
File size 85.20kB
Number of files 5
Latest version 1
Latest release date 2024-03-12 01:40:19
First release date 2024-03-07 11:02:13
Supported Unity versions 2018.4.2 or higher

Requests are executing in the parallel thread without Coroutines and doesn't affect the main thread. You can create as many requests as you want and they will quickly run together



How to use it

  • Import the namespace using Web;
  • Write the simplest construction Http.Get(string url).Send();

Request Types

  • Http.Get(url)
  • Http.GetTexture(url, nonReadable)
  • Http.GetAssetBundle(url)
  • Http.Post(url, postData)
  • Http.PostJson(url, json)
  • Http.Put(url, putData)

Features

  • Use out-of-box
  • Send requests even in edit mode
  • Set success callback with serialisation in the class
  • Send and handle request in one simple step instead of writing a custom web requests manager
  • Execute many request simultaneously without affecting the main thread
  • Download textures and asset bundles in one line of code
  • Send POST requests with json (By default Unity cannot send json in POST properly)
  • Easy to use and understand
  • Quick support
  • Set global headers so you won't need to set the same headers each time
  • Get both download and upload progress by event
  • Handle errors easily
  • Debug mode


Dont forget to check my other assets

Top Publisher Assets