I'm trying to use http2 in my angular application. So I searched and found this chrome plugin https://chrome.google.com/webstore/detail/http2-and-spdy-indicator/mpbpobfflnpcgagjijhmgnchggcjblin?hl=en . It indicates my site doesn't support http2. I did search on google and on official angular page and didn't found any documentation. How can I make my angular app to support http2? So far I'm using HttpClient
. Thank you.
Your Angular app does not need to support HTTP/2, your web browser and server need to support this. When that happens the Angular app will automatically use it as the browser will translate any HttpClient
calls to HTTP/2 automatically.