# createConnection · FT4 TypeScript client · Chromia Docs (concept)

> createConnection(client: IClient): Connection Uses the specified client to create a Connection instance. Parameters client: IClient the client to use for t

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createConnection/

Function

# createConnection

* ```signature
  createConnection(client: IClient): Connection
  ```

  Uses the specified client to create a Connection instance.

  #### Parameters

  + client: IClient

    the client to use for the connection

  #### Returns [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/ft-session.createConnection.html)Generated API reference, mirrored from the live docs
