how to dynamic subscribe to a stream?

i try to connect to binance and then subscribe to a stream
such as:
Subscribe to a stream


“result”: null,
“id”: 1


"method": "SUBSCRIBE",
"id": 1

but when i connect to binance,binance kick me off,i wonder why

can somebody please help thanks

missing ws in the end of the url.


thank you .i found the answer.