useVirtualHosting (property)
Determines which style request to use.
Syntax
@property (nonatomic,readwrite,assign,getter=useVirtualHosting,setter=setUseVirtualHosting:) BOOL useVirtualHosting; - (BOOL)useVirtualHosting; - (void)setUseVirtualHosting:(BOOL)newUseVirtualHosting;
public var useVirtualHosting: Bool { get {...}
set {...} }
Default Value
TRUE
Remarks
If set to true (default), buckets will be referenced in the request using the hosted-style request: http://yourbucket.us-east-1.linodeobjects.com/yourobject. If false, the class will use the path-style request: http://us-east-1.linodeobjects.com/yourbucket/yourobject.
Note: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions.