method R2Storage.prototype.getSignedUrl
R2Storage.prototype.getSignedUrl(
path: string,
_options: SignedUrlOptions
): Promise<string>

Always throws — R2 bindings cannot presign.

The unused _options is kept, not deleted. Dropping it would narrow the exported class below IStorage, so a consumer holding an R2Storage directly could no longer pass SignedUrlOptions — the interface still declares it. An underscore is the sanctioned way to mark a parameter a contract requires and an implementation cannot use.

Parameters

path: string

The object path, named in the error

_options: SignedUrlOptions

Required by the contract; no counterpart on the binding

Return Type

Promise<string>

Never returns

Throws

CloudflareUnsupportedError

Always

Usage

import { R2Storage } from "cloudflare-plugin/src/index.ts";