MCPcopy Create free account
hub / github.com/binance/binance-connector-python / WebsocketApiResponse

Class WebsocketApiResponse

common/src/binance_common/models.py:74–98  ·  view source on GitHub ↗

A wrapper for WebSocket API responses that includes parsed data and rate limit headers. :param data_function: A callable that lazily returns the parsed data of type T. :param status: The HTTP status code of the response. :param headers: A dictionary of response headers. :param rate_