UseVirtualHosting Property
Determines which style request to use.
Syntax
public var useVirtualHosting: Bool {
get {...}
set {...} }
Default Value
False
Remarks
If set to , buckets will be referenced in the request using the hosted-style request: http://yourbucket.storage.googleapis.com/yourobject. If (default), the class will use the path-style request: http://storage.googleapis.com/yourbucket/yourobject.
NOTE: When set to , there are more limitations when choosing a bucket name due to DNS server naming restrictions. See Google's documentation for more detailed naming information.