IPWorks Cloud 2020 iOS Edition

Questions / Feedback?

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

FALSE

Remarks

If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.nyc3.digitaloceanspaces.com/yourobject. If false (default), the class will use the path-style request: http://nyc3.digitaloceanspaces.com/yourbucket/yourobject.

NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. DigitalOcean follows Amazon's naming restrictions, so refer to Amazon's S3 documentation for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 iOS Edition - Version 20.0 [Build 8265]