> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # disconnect > disconnect method for the PubSub.Client class. ### disconnect * **disconnect**(): `void` Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again. #### Returns `void` #### Example ```js client.disconnect(); ``` > disconnect method for the PubSub.Client class.