Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Networking UnityWebRequest has no proxy properties or methods

Discussion in '5.4 Beta' started by JJJohan, Jun 20, 2016.

  1. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    214
    Earlier today my team had become tasked with implementing an API call for our product to allow for proxy configuration. We currently use UnityWebRequest as it's been a big improvement over having to split functionality between WebClient and WWW based on the platforms that we built for.

    However it was somewhat of a surprise to find that after a quick glance there are absolutely no exposed properties or methods that have anything to do with proxy configuration, which seems like a bit of an oversight. Right now the only proper method would be to use the WebClient class, which means we'd have to either revert all our uses of UnityWebRequest or turn our codebase into a bit of a convoluted mess for proxy-specific operations.

    It'd be appreciated if this could be addressed, even if not in the near future. I've filed a bug report (#807081) although there is no attached project as it would be redundant.