Skip to content

CallHints

@blobs/sdk v0.1.0


@blobs/sdk / transport / CallHints

Defined in: transport/capabilities.ts:153

Per-call hint from the service layer. The coordinator reads these to narrow transport selection for a specific call.

needsStreaming: subscription/event call — require streaming: true needsBinaryUpload: file or chunk call — require binaryUpload: true prefer: caller-supplied preference (overrides costHint)

Properties

needsStreaming?

optional needsStreaming?: boolean

Defined in: transport/capabilities.ts:155

Subscription/event call — only transports with streaming: true qualify.


needsBinaryUpload?

optional needsBinaryUpload?: boolean

Defined in: transport/capabilities.ts:157

File or chunked upload — only transports with binaryUpload: true qualify.


prefer?

optional prefer?: TransportKind

Defined in: transport/capabilities.ts:159

Caller-supplied preference; overrides the cost-based ranking.