mirror of
https://github.com/kokarare1212/librespot-python.git
synced 2024-09-16 09:50:31 +02:00
20 lines
482 B
Python
20 lines
482 B
Python
|
from __future__ import annotations
|
||
|
from librespot.standard.Closeable import Closeable
|
||
|
|
||
|
|
||
|
class DealerClient(Closeable):
|
||
|
def __init__(self, session):
|
||
|
pass
|
||
|
|
||
|
def connect(self):
|
||
|
pass
|
||
|
|
||
|
def add_message_listener(self, listener: DealerClient.MessageListener,
|
||
|
*uris: str):
|
||
|
pass
|
||
|
|
||
|
class MessageListener:
|
||
|
def on_message(self, uri: str, headers: dict[str, str],
|
||
|
payload: bytes):
|
||
|
pass
|