IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

UseVirtualHosting Property

Determines which style request to use.

Syntax


 isUseVirtualHosting(): boolean;

 setUseVirtualHosting(useVirtualHosting: boolean): void;

Default Value

TRUE

Remarks

If set to true (default), buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.us.cloud-object-storage.appdomain.cloud/yourobject. If false, the class will use the path-style request: http://s3.us.cloud-object-storage.appdomain.cloud/yourbucket/yourobject.

Note: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions.

This property is not available at design time.

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