UseVirtualHosting Property
Determines which style request to use.
Syntax
ANSI (Cross Platform) int GetUseVirtualHosting();
int SetUseVirtualHosting(int bUseVirtualHosting); Unicode (Windows) BOOL GetUseVirtualHosting();
INT SetUseVirtualHosting(BOOL bUseVirtualHosting);
@property (nonatomic,readwrite,assign,getter=useVirtualHosting,setter=setUseVirtualHosting:) BOOL useVirtualHosting; - (BOOL)useVirtualHosting; - (void)setUseVirtualHosting:(BOOL)newUseVirtualHosting;
#define PID_WASABI_USEVIRTUALHOSTING 89 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Wasabi_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Wasabi_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.wasabisys.com/yourobject. If false (default), the class will use the path-style request: http://s3.wasabisys.com/yourbucket/yourobject.
NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. Wasabi follows Amazon's naming restrictions, so refer to Amazon's S3 documentation for more information.
This property is not available at design time.
Data Type
Boolean