| 2061 | } |
| 2062 | |
| 2063 | bool RpcServerConfig::is_valid() const { |
| 2064 | #ifndef _WIN32 |
| 2065 | |
| 2066 | if (rpc_user.empty()) |
| 2067 | return false; |
| 2068 | |
| 2069 | if (rpc_password.empty()) |
| 2070 | return false; |
| 2071 | |
| 2072 | #endif |
| 2073 | return true; |
| 2074 | } |
| 2075 | |
| 2076 | } |
| 2077 | } // thinkyoung::client |
no test coverage detected