RequestParams
@curiouslycory/memai-sdk / RequestParams
Interface: RequestParams
Defined in: types.ts:60
Internal representation of request parameters for making API calls. This type is primarily for internal SDK use.
Properties
body?
optional
body:string
Defined in: types.ts:66
The request body, typically a JSON string.
headers
headers:
Record
<string
,string
>
Defined in: types.ts:64
A record of HTTP headers to include in the request.
method
method:
HttpMethod
Defined in: types.ts:62
The HTTP method to use for the request.
timeout?
optional
timeout:number
Defined in: types.ts:68
Request-specific timeout in milliseconds, overriding client default if provided.