Quantcast
Channel: Questions in topic: "httpwebrequest"
Browsing all 190 articles
Browse latest View live
↧

Https freezes the game for one second

When I make a request to the server, all the game freezes for a few seconds, I think that the game is waiting for a server response, there is a way to not wait for the server's response? This is my...

View Article


WebRequest.BeginGetRequestStream fails on iOS using IPv6 DNS64/NAT64

Apple has recently made it a requirement for all apps to support IPv6 DNS64/NAT64 and I've been working to comply with this mandate. I followed Apple's directions for setting up a DNS64/NAT64 network...

View Article


Internet Connection Check using 204 HTTPStatusCode

I've been working on an Internet Connection Checker... I've tried many things, from pinging to WebRequests, from RESTful APIs to socket beacons. The one thing I found most reliable and performatic,...

View Article

HttpWebRequest Async not working on Android

The following simple code wants to download an asset bundle asynchronously from a given URL: private void GetWebContent(String _url) { Debug.Log("Creating webrequest with URL = " + _url); _request =...

View Article

Trying to use PATCH on a UnityWebRequest on Android and getting 'Unsupported...

Hi Really hope someone can assist, we are using Azure Mobile App Service and everything works fine in the editor and on IOS, we only have a problem on Android when trying to update an existing record....

View Article


GET image over HTTPS with unvalidated SSL certificate and authenication

I have a Raspberry Pi server where if I request GET `https://192.168.1.2/stream`, the server will ask for authentication, then provide a snapshot image of the webcam. I use `HttpWebRequest` for...

View Article

Download 6 textures from the web, create a cubemap and set it as skybox in...

In my app I need teh user to be able to download already prepared 360 photos, cut into 6 pieces. After that, the cubemap must be made, and loaded as a skybox, so that the user could explore 360 degrees...

View Article

[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType

Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...

View Article


[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType

Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...

View Article


HTTPWebRequest.GetResponce not working on Android

I am trying to access data from IIS Server protected by NTLM protocol using HTTPWebRequest, which works fine on unity editor( windows ) but fails in Android Mobile App. I am getting 401 Unauthorized...

View Article

HTTPWebRequest.GetResponce for NTLM protocol not working on Android

I am trying to access data from IIS Server protected by NTLM protocol using HTTPWebRequest, which works fine on unity editor( windows ) but fails in Android Mobile App. I am getting 401 Unauthorized...

View Article

Date request header is missing from http request(UnityWebrequest)

I am trying to send a GET request to an API that requires the Date request header. However UnityWebRequest does not send it automatically (I have checked with https://requestb.in/) and I cannot set it...

View Article

HttpWebRequest timed out behind proxy

Hi, I try to access web services behind a proxy. Until now, I used unitywebrequest but I understood that proxy configuration wasn't handled by them. So I changed my code to use HttpWebRequest as it...

View Article


Does overriding UnityWWWRequestDefaultProvider works for UnityWebRequest?

My project suffers from web cache problem in iOS client. We used UnityWebRequest with SetRequestHeader("Cache-Control", "max-age=0, no-cache, no-store"); SetRequestHeader("Pragma", "no-cache"); but it...

View Article

HttpWebRequest with Networkcredentials

Hi, I am trying to access a URL using (HttpWebRequest)WebRequest.Create(urlAddress). by giving authenticate using Network credentials. But in UNITY3D its giving the below error. WebException: The...

View Article


How can I display text from a webrequest?

I am using a HTTP request to try and access a REST endpoint. I want to display the text I get in a canvas but I can't seem to get the output of the request to display in the Canvas. using...

View Article

why does UnityWebRequest want Dispose() ?

The [Unity Docs][1] state:> Signals that this [UnityWebRequest] is no longer being used, and should clean up any resources it is using.>> You must call Dispose once you have finished using a...

View Article


UnityWebRequest error 0 in Editor, but not in WebGL build

I'm trying to send a UnityWebRequest to a server. It works perfectly on the WebGL Player, but not in the Editor private static IEnumerator SendWebRequest(UnityWebRequest webRequest, UnityAction...

View Article

How to change Host name in HttpWebRequest headers in unity .net 2.0?

I want to call a webpage by its ip address by adding custom values to request header for "host". "" Code: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://1.1.1.1");...

View Article

HTTP to WWW Help --Small Sample Code Conversion

Hey guys, seems that I have a similar problem as this guy: http://answers.unity3d.com/answers/1088100/view.html I'm new to network programming, and can't for the life of me get this small batch of code...

View Article
Browsing all 190 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>