S3SettingsExtensions.

SetAccelerate<T>(T, bool) Method

Summary

Enables S3 accelerate by sending requests to the accelerate endpoint instead of the regular region endpoint.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3SettingsExtensions

Syntax

public static T SetAccelerate<T>(this T settings, bool enable = true) where T : S3Settings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The S3 settings.
enable bool Enable acceleration.

Return Value

Type Description
T The same S3Settings instance so that multiple calls can be chained.