Pmethod
Bun

property

S3FilePresignOptions.method

method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD'

The HTTP method allowed for the presigned URL.

// GET URL for downloads
    const downloadUrl = file.presign({
      method: "GET",
      expiresIn: 3600
    });