mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-24 02:47:35 -07:00
91dddc439f
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
953 B
953 B
Home > iceshrimp-sdk > 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; } |