@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
16 lines • 470 B
TypeScript
/**
* Possible MQTT authentication results
*/
export declare const AuthenticationResult: {
readonly ok: 0;
readonly unacceptableProtocol: 1;
readonly rejectedUsername: 2;
readonly serverUnavailable: 3;
readonly badUsernameOrPassword: 4;
readonly notAuthorized: 5;
};
/**
* Reverse lookup for AuthenticationResult
*/
export declare const AuthenticationResultByNumber: Record<number, string>;
//# sourceMappingURL=AuthenticationResult.d.ts.map