createHttpClient

I am trying to understand how to correctly use the http plugin in v 3.0.

It is not clear to me how to use plugins.http.createHttpClient(): which parameters should I pass to it? Should I point to a browser or what? I always get “undefined” as a result.

Anyone can help? Thanks