rudeshark.net/packages/calckey-js/markdown/calckey-js.api.apiclient._constructor_.md
2023-06-23 21:13:03 -07:00

908 B

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