HttpInfo.cpp (750B)
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 // HttpLog.h should generally be included first 6 #include "HttpLog.h" 7 8 #include "nsHttpHandler.h" 9 #include "HttpInfo.h" 10 11 void mozilla::net::HttpInfo::GetHttpConnectionData( 12 nsTArray<HttpRetParams>* args) { 13 if (gHttpHandler && gHttpHandler->ConnMgr()) { 14 gHttpHandler->ConnMgr()->GetConnectionData(args); 15 } 16 } 17 18 void mozilla::net::HttpInfo::GetHttp3ConnectionStatsData( 19 nsTArray<Http3ConnectionStatsParams>* args) { 20 if (gHttpHandler && gHttpHandler->ConnMgr()) { 21 gHttpHandler->ConnMgr()->GetHttp3ConnectionStatsData(args); 22 } 23 }