method
RiduClient.requestPlugin
POST to one declared namespaced plugin endpoint through the configured SDK transport.
Arguments
| Argument | Type | Description |
|---|---|---|
plugin | string | The plugin value. |
path | string | The path value. |
body | unknown | The body value. |
options | RequestOptions | | The options value. |
Returns
The declared result.
Promise<Result>How it works
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.
Full signature
RiduClient.requestPlugin<Result = unknown>(
plugin: string,
path: string,
body: unknown,
options?: RequestOptions,
): Promise<Result>Related types
RequestOptionsOptions shared by every request.