HttpInfo.h (658B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http:mozilla.org/MPL/2.0/. */ 4 5 #ifndef nsHttpInfo__ 6 #define nsHttpInfo__ 7 8 #include "nsTArrayForwardDeclare.h" 9 10 namespace mozilla { 11 namespace net { 12 13 struct HttpRetParams; 14 15 class HttpInfo { 16 public: 17 /* Calls getConnectionData method in nsHttpConnectionMgr. */ 18 static void GetHttpConnectionData(nsTArray<HttpRetParams>*); 19 static void GetHttp3ConnectionStatsData( 20 nsTArray<Http3ConnectionStatsParams>*); 21 }; 22 23 } // namespace net 24 } // namespace mozilla 25 26 #endif // nsHttpInfo__