1
0
Fork 1
mirror of https://example.com synced 2024-11-23 02:26:39 +09:00
firefish/packages/firefish-js/markdown/firefish-js.api.apiclient._constructor_.md
2023-07-20 04:17:05 +09:00

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; }