@textile/hub > Client > (constructor)
Client.(constructor)
Creates a new gRPC client instance for accessing the Textile Threads API.
Signature:
constructor(context?: ContextInterface, debug?: boolean);
Parameters
Parameter | Type | Description |
---|---|---|
context | ContextInterface | The context to use for interacting with the APIs. Can be modified later. |
debug | boolean | Should we run in debug mode. Defaults to false. |