Where is the nodejs websocket documentation

Hello, I cannot find the exact documentation for Nodejs Websocket accessibility. I tried to use it with Postman but there is no precise method to subscribe to the symbols. Kindly guide me about it. Thanks

Waiting For An Update??

What a pure coincidence!

One of our community mavericks @vinay_sd17 is working on updating the nodejs library and will be soon sharing it.

Will let you know once its live.

Thanks @RahulDeshpande For The Reply.

But can I connect to the WebSocket via Postman ?

If Yes, can you tell me how to pass the headers and subscription message? I want to know the method to implement it in my nodejs application.

Hi @RahulDeshpande @kailashg

The Pull Request is awaiting the DhanHQ team to review and merge.

[BETA]

2 Likes

@vinay_sd17 Thank You So Much For Your Contribution. :slight_smile:

2 Likes

Hello @vinay_sd17 , why is this not working with the Nextjs application? while it works with a simple node app.

I am getting this error:
Cannot find module ‘dhanhq’ or its corresponding type declarations.ts(2307)

@kailashg Checking SDK compatibility with NextJS. Will update here shortly

@vinay_sd17 Okay, Waiting … Thanks

Hi @kailashg

It’s fixed and published in the NPM registry - version 1.0.4

@RahulDeshpande @Hardik Please approve and merge this [Pull Request]

2 Likes

Hey @vinay_sd17

We will soon be approving this into prod. :slight_smile:

1 Like

@vinay_sd17 Thank You So Much :slight_smile:

@RahulDeshpande Please Approve It ASAP :pray: