refactor: Change WebsocketServerConfig.port to uint32
It should always be a number between 1-65535
This commit is contained in:
1 parent
456c953839
commit
6dd701dd33
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@
|
||||
DefaultEndPoint = "/",
|
||||
Host = "titan",
|
||||
Scheme = "http",
|
||||
Port = "8080",
|
||||
Port = 8080,
|
||||
KeepAliveIntervalSecs = 0.1,
|
||||
};
|
||||
await sync.initAsync(gwy);
|
||||
|
||||
@@ -6,7 +6,7 @@ package bts.websocket_core;
|
||||
|
||||
message WebsocketServerConfig {
|
||||
string host = 1;
|
||||
string port = 2;
|
||||
uint32 port = 2;
|
||||
string scheme = 3;
|
||||
string default_end_point = 4;
|
||||
double keep_alive_interval_secs = 5;
|
||||
|
||||
Reference in new issue
Block a user