async def create_websocket_client(sock: anyio.abc.SocketStream,
                                  addr,
                                  path: str,
                                  headers: Optional[List] = None,
                                  subprotocols: Optional[List[str]] = None):
    """
    A more low-level form of create_websocket_client.
    You are responsible for closing this websocket.
    """
    ws = Websocket()
    await ws.start_client(
        sock, addr=addr, path=path, headers=headers, subprotocols=subprotocols)
    return ws
async def create_websocket_client ( sock : anyio . abc . SocketStream , addr , path : str , headers : Optional [ List ] = None , subprotocols : Optional [ List [ str ] ] = None ) : ws = Websocket ( ) await ws . start_client ( sock , addr = addr , path = path , headers = headers , subprotocols = subprotocols ) return ws
A more low-level form of create_websocket_client.
    You are responsible for closing this websocket.