Re: Proxy on libsoup



Dani wrote:
Hi :)

I'm writing an app using libsoup.. and works fine :D.
I use libsoup to make async HTTP requests and it works great! verry easy to handle requests/responses

Now, i'm thinking: what about if a user connect to internet using a proxy?

I was looking at the api doc and i get:
#define SOUP_SESSION_PROXY_URI          "proxy-uri"

I don't know if i have to change anything, add something.. or what is that property.

You need to pass that as an argument to soup_session_async_new_with_options(). See tests/get.c in the libsoup sources for an example.

-- Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]