Server Response

class fseconomy.response.Response(status: int = 0, data: Any | None = None, raw: str | bytes | None = None)

FSEconomy Server Response

Parameters:
  • status (int) – HTTP status code sent by the server

  • data (Any) – data received from the server represented by native Python data types

  • raw (Union[str, bytes]) – raw data received from the server

property binary: bool

Raw data is binary

property data: Any | None

Data received from the server decoded into native Python data types

property raw: str | bytes | None

Data received from the server as raw string or bytes

property status: int

HTTP status code sent by the server