mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
Implemented room device interface
(AC only)
This commit is contained in:
@ -21,17 +21,7 @@ class HTTPService {
|
||||
receiveTimeout: const Duration(milliseconds: 60000),
|
||||
),
|
||||
);
|
||||
// (client.httpClientAdapter as IOHttpClientAdapter).createHttpClient = () {
|
||||
// client. = (X509Certificate cert, String host, int port) {
|
||||
// // TODO add SSL certificate
|
||||
// // if(cert.pem == certificateString){ // Verify the certificate
|
||||
// // return true;
|
||||
// // }
|
||||
// // return false;
|
||||
// return true;
|
||||
// };
|
||||
// return client;
|
||||
// };
|
||||
|
||||
client.interceptors.add(locator<HTTPInterceptor>());
|
||||
return client;
|
||||
}
|
||||
|
Reference in New Issue
Block a user