method

RiduClient.request

RiduClient.request( path: string, init?: RequestInit, options?: RequestOptions, ): Promise<Response>

Dispatch a raw same-origin request to an application-authored custom endpoint.

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

@param path
The path value.
@param init
The init value.
@param options
The options value.
@returns
The declared result.

Only an absolute path on the configured Ridu origin is accepted; network paths, full URLs, and fragments are rejected before dispatch.

The raw Response is returned for every HTTP status. No JSON content type is added implicitly, so the caller retains complete request and response control.

The request still uses configured credentials, merged headers, middleware, abort signals, and keepalive behavior.

Related types