Server object to transfer proxy settings and credentials for proxies
- Publishers
- Any app
- Subscribers
- Network Manager; any app
Note:
This type of object is known as a
server object, a special PPS object designed for point-to-point communication between
a server and one or more clients. For details, see
"Server objects" in the
QNX Persistent Publish/Subscribe Developer's
Guide.
Message/response format
The /pps/services/networking/proxyserver object accepts this command:
msg::getproxy\nid::ID_number
The response will reflect the command string and whatever
ID_number was sent in the message, along with these attributes in the
dat field (line breaks given here for readability):
res::getproxy
id::ID_number
dat:json:{"httpproxy":"proxy:port_number",
"httpproxylogin":"user:password"}
Other possible attributes for the
dat field include:
A response will be generated immediately after the first request and whenever the proxy information changes.