diff --git a/docs/classes/Options.html b/docs/classes/Options.html new file mode 100644 index 0000000..b587789 --- /dev/null +++ b/docs/classes/Options.html @@ -0,0 +1,12 @@ +Options | namemcwrapper
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Options

Implements

Index

Constructors

Properties

cloudProxy: undefined | { cookies?: { domain?: string; expires?: number; httpOnly?: boolean; name: string; path?: string; sameSite?: "Strict" | "Lax"; secure?: boolean; url?: string; value: string }[]; headers?: Record<string, any>; maxTimeout?: number; session?: string }
+

CloudProxy options for requests +NameMC often uses CloudFlare to protect against DDoS attacks +If you want the library to work at such times, you need to deploy your own Cloud Proxy instance

+
defaultSkinsModel: undefined | CLASSIC | SLIM | "classic" | "slim"
+

Model for skins by default, if an error occurred while trying to parse it

+
endpoint: "namemc.com" = 'namemc.com'
proxy: undefined | string = ''
+

Proxy url for requests +Support CloudProxy

+
rendersIgnoreProxy: undefined | boolean
+

Ignore proxy url for renders

+

Methods

Generated using TypeDoc

\ No newline at end of file