Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit 9e0c19d

Browse files
authored
Update SessionOptions.hpp
Fixed #159
1 parent 4a7c262 commit 9e0c19d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/mirai/SessionOptions.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ namespace Cyan
2727
/**
2828
* @brief 与 mirai-api-http 通信的端口(Http 适配器),默认值为 8080.
2929
*/
30-
Property<short> HttpPort = 8080;
30+
Property<int> HttpPort = 8080;
3131

3232
/**
3333
* @brief 与 mirai-api-http 通信的端口(WebSocket 适配器),默认值为 8080.
3434
*/
35-
Property<short> WebSocketPort = 8080;
35+
Property<int> WebSocketPort = 8080;
3636

3737
/**
3838
* @brief WebSocket 通信保留的同步ID(默认为"-1").
@@ -75,4 +75,4 @@ namespace Cyan
7575
};
7676
}
7777

78-
#endif //! mirai_cpp__SessionOptions_hpp_H_
78+
#endif //! mirai_cpp__SessionOptions_hpp_H_

0 commit comments

Comments
 (0)