http
http copied to clipboard
Question about architecture of http package
Hello!!
I researched the beautiful http package and encountered several questions. Maybe some users are interested with them. Could you help, please? )
We have: IOClient extends BaseClient implements Client. And we also have _HttpClient implements HttpClient
When we use a global function (for example post), it calls IOClient through Client and IOClient uses _HttpClient underhood.
Do I understand that properly? Why do we need HttpClient? We can just implement abstract functions in IOClient, or not, and why?