• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebServices and HTTPS-Proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebServices and HTTPS-Proxy


  • Subject: WebServices and HTTPS-Proxy
  • From: Thomas Rasch <email@hidden>
  • Date: Wed, 3 Mar 2004 21:24:29 +0100

I'm trying to use XML-RPC with https-proxies. According to the documentation, making your own CFHTTPMessageRef and setting the proxy information there should be the way to go. The following is my code:

CFHTTPMessageRef messageRef = CFHTTPMessageCreateRequest( kCFAllocatorDefault, CFSTR("POST"), (CFURLRef)rpcUrl, kCFHTTPVersion1_1 );
CFReadStreamRef readStreamRef = CFReadStreamCreateForHTTPRequest( kCFAllocatorDefault, messageRef );
CFDictionaryRef proxyDict = SCDynamicStoreCopyProxies( NULL );
if ( proxyDict != NULL ) {
CFReadStreamSetProperty( readStreamRef, kCFStreamPropertyHTTPProxy, proxyDict );
}
WSMethodInvocationSetProperty( rpcRefInfo, kWSHTTPMessage, messageRef );

Yet, if I try to compile this, the linker says "ld: Undefined symbols: _kWSHTTPMessage".
Can anyone help me with this? What should the value of "kWSHTTPMessage" be?

Thanks,
Thomas
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: UDP broadcasting all to but me
  • Next by Date: Re: UDP broadcasting all to but me
  • Previous by thread: Re: UDP broadcasting all to but me
  • Next by thread: ioctl always returns 0
  • Index(es):
    • Date
    • Thread