Skip to content

Commit 0292220

Browse files
committed
Add ssl to ImqttClient
1 parent 7a920b1 commit 0292220

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/types.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@ export enum HttpErrorsEnum {
1717
ErrInvalidParameter = 422,
1818
SrvErrInternalServerError = 500
1919
}
20-
export enum RoutingNames {
20+
export enum RoutingNames {
2121
login = 'login',
2222
register = 'register',
23-
configure = 'configure',
24-
busses = 'busses',
25-
specifications = 'specifications',
26-
slaves = 'slaves',
23+
configure = 'configure',
24+
busses = 'busses',
25+
specifications = 'specifications',
26+
slaves = 'slaves',
2727
specification = 'specification'
2828
}
2929
export interface ImqttClient extends IClientOptions {
30-
mqttserverurl?: string
30+
mqttserverurl?: string,
31+
ssl?: boolean
3132
}
3233

3334
export interface IRTUConnection {

0 commit comments

Comments
 (0)