Optional
WebOptional
protocols: string | string[]Readonly
CLOSED: 3Readonly
CLOSING: 2Readonly
CONNECTING: 0Readonly
OPEN: 1Optional
api_The base path for the API endpoints, default is an empty string.
Optional
api_The host address of the API server, defaults to '127.0.0.1:8188'.
Optional
cacheOptional
clientThe client identification string, default is an empty string.
Optional
fetchThese settings are for compatibility with Node.js environments.
Optional
init: RequestInitOptional
init: RequestInitOptional
sessionThe name of the session, used for identifying the session instance, default is an empty string.
Optional
sslWhether to use SSL for the connections, defaults to false.
Optional
userThe username for authentication, default is 'sc-comfy-ui-client'.
These settings are for compatibility with Node.js environments.