signUrl method

Future<String> signUrl (
  1. String bucketName,
  2. String objectKey,
  3. {int expiredTimeInSeconds: 3600}
)

签名URL

Implementation

Future<String> signUrl(
  String bucketName,
  String objectKey, {
  int expiredTimeInSeconds = 3600,
}) async {
  return await _channel.invokeMethod("signUrl", {
    "bucketName": bucketName,
    "objectKey": objectKey,
    "expiredTimeInSeconds": expiredTimeInSeconds,
    "clientKey": _clientKey
  });
}