mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
916 B
916 B
Home > firefish-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; } |