ThingWorx C SDK
twHttpProxy.h
Go to the documentation of this file.
1 /***************************************
2  * Copyright (C) 2015 ThingWorx Inc. *
3  ***************************************/
4 
10 #ifndef HTTP_PROXY_H
11 #define HTTP_PROXY_H
12 
13 #include "twOSPort.h"
14 
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
34 int connectToProxy(twSocket * s, char * authCredentials);
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* HTTP_PROXY_H */
twSocket base type definition.
Definition: twOSPort.h:175
Wrappers for OS-specific functionality.
int connectToProxy(twSocket *s, char *authCredentials)
Opens the socket and connects through the proxy specified in the twSocket structure.
Definition: twHttpProxy.c:190