createApi() function
Create an instance of the API client.
Signature:
declare function createApi(ctx: Context, data: APIConstructorData): API;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ctx | ||
|
data |
Returns:
Create an instance of the API client.
Signature:
declare function createApi(ctx: Context, data: APIConstructorData): API;
|
Parameter |
Type |
Description |
|---|---|---|
|
ctx | ||
|
data |
Returns: