Skip to main content
get authorizeEnabled(): boolean
true when this server was constructed with an authorize hook — i.e. every connection is negotiated as an authorized session. Front-door encoders (e.g. the HTTP handler in the agent-http subpath) read this to decide whether to open their connections with an attach negotiation or the plain v1 bootstrap, so a server without authorize is never sent frames it would answer with version_mismatch. Returns boolean