Skip to content

actionToGrpcMethod()

@blobs/sdk v0.1.0


@blobs/sdk / transport / actionToGrpcMethod

actionToGrpcMethod(action): string

Defined in: transport/RequestAction.ts:112

Maps a RequestAction to its gRPC method name (PascalCase).

Parameters

action

RequestAction

Logical operation.

Returns

string

The gRPC method name (e.g. List, BatchCreate); defaults to Get if unmapped.