Context.(constructor)
Context constructor.
Signature:
constructor({ apiKey, apiUrl, createAdapter, meshRankResolver, staticProxy, }: {
apiKey: string;
apiUrl?: string;
createAdapter: (ctx: Context) => AdapterInterface;
meshRankResolver?: MeshRankResolver;
staticProxy?: string;
});
Parameters
Parameter |
Type |
Description |
---|---|---|
{ apiKey, apiUrl, createAdapter, meshRankResolver, staticProxy, } |
{ apiKey: string; apiUrl?: string; createAdapter: (ctx: Context) => AdapterInterface; meshRankResolver?: MeshRankResolver; staticProxy?: string; } |