mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
4410989fa2
revert ?
924 B
924 B
Home > iceshrimp-js > api > APIClient > (constructor)
api.APIClient.(constructor)
Constructs a new instance of the APIClient
class
Signature:
constructor(opts: {
origin: APIClient["origin"];
credential?: APIClient["credential"];
fetch?: APIClient["fetch"] | null | undefined;
});
Parameters
Parameter | Type | Description |
---|---|---|
opts | { origin: APIClient["origin"]; credential?: APIClient["credential"]; fetch?: APIClient["fetch"] | null | undefined; } |