mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-19 09:08:08 +09:00
25 lines
908 B
Markdown
25 lines
908 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [calckey-js](./calckey-js.md) > [api](./calckey-js.api.md) > [APIClient](./calckey-js.api.apiclient.md) > [(constructor)](./calckey-js.api.apiclient._constructor_.md)
|
||
|
|
||
|
## api.APIClient.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `APIClient` class
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
constructor(opts: {
|
||
|
origin: APIClient["origin"];
|
||
|
credential?: APIClient["credential"];
|
||
|
fetch?: APIClient["fetch"] | null | undefined;
|
||
|
});
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| opts | { origin: [APIClient](./calckey-js.api.apiclient.md)<!-- -->\["origin"\]; credential?: [APIClient](./calckey-js.api.apiclient.md)<!-- -->\["credential"\]; fetch?: [APIClient](./calckey-js.api.apiclient.md)<!-- -->\["fetch"\] \| null \| undefined; } | |
|
||
|
|