method

RiduClient.requestPlugin

RiduClient.requestPlugin<Result = unknown>( plugin: string, path: string, body: unknown, options?: RequestOptions, ): Promise<Result>

POST to one declared namespaced plugin endpoint through the configured SDK transport.

Source packages/sdk/src/types.ts:659

@param plugin
The plugin value.
@param path
The path value.
@param body
The body value.
@param options
The options value.
@returns
The declared result.

Plugin keys and every path segment are validated before dispatch; empty, whitespace, traversal, query, fragment, and wildcard paths are rejected.

The request retains the client base URL, credentials, merged headers, middleware, abort signal, and structured RiduError behavior.

Related types