get_ws_cookie_string
Get the cookie string for the WebSocket connection.
Method of WebcastWSClient.
Get the cookie string for the WebSocket connection.
Signature
Section titled “Signature”def get_ws_cookie_string(cookies: httpx.Cookies) -> strParameters
Section titled “Parameters”cookies(httpx.Cookies) — Cookies to pass to the WebSocket connection
Returns
Section titled “Returns”str — Cookie string
Import
Section titled “Import”from TikTokLive.client.ws.ws_client import WebcastWSClient