Back

Can I make 2 client connections ?

  • 0
  • Databases
  • General
  • Storage
  • Cloud
  • React Native
Aditya-2407-G
5 Jun, 2024, 04:58

Hey is it possible that I do this

const client1 = new Client() const client2 = new Client()

For client1 I want to use the auth functionality And while in a user session for clien1, can I upload files to collection and storage of the client2 ?

TL;DR
Developers are looking to establish multiple client connections for different functionalities. They want to use the auth functionality for client1 and upload files to the collection and storage of client2 while in a user session for client1.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more